Skip to content

Commit

Permalink
Update setupFilesAfterEnv to TS (#25928)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Aug 9, 2023
1 parent a61ab7c commit d1f7b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const config: Config = {
},
testMatch: ["<rootDir>/test/**/*-test.[tj]s?(x)"],
setupFiles: ["jest-canvas-mock"],
setupFilesAfterEnv: ["<rootDir>/node_modules/matrix-react-sdk/test/setupTests.js"],
setupFilesAfterEnv: ["<rootDir>/node_modules/matrix-react-sdk/test/setupTests.ts"],
moduleNameMapper: {
"\\.(css|scss|pcss)$": "<rootDir>/__mocks__/cssMock.js",
"\\.(gif|png|ttf|woff2)$": "<rootDir>/node_modules/matrix-react-sdk/__mocks__/imageMock.js",
Expand Down

0 comments on commit d1f7b08

Please sign in to comment.