From d1f7b0898acc670a0d7f611cfb072e9f57aa549d Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 9 Aug 2023 09:39:45 +0100 Subject: [PATCH] Update setupFilesAfterEnv to TS (#25928) --- jest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.ts b/jest.config.ts index 7d3029851a..c78fc6e067 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -25,7 +25,7 @@ const config: Config = { }, testMatch: ["/test/**/*-test.[tj]s?(x)"], setupFiles: ["jest-canvas-mock"], - setupFilesAfterEnv: ["/node_modules/matrix-react-sdk/test/setupTests.js"], + setupFilesAfterEnv: ["/node_modules/matrix-react-sdk/test/setupTests.ts"], moduleNameMapper: { "\\.(css|scss|pcss)$": "/__mocks__/cssMock.js", "\\.(gif|png|ttf|woff2)$": "/node_modules/matrix-react-sdk/__mocks__/imageMock.js",