Skip to content

Commit 6994ac0

Browse files
committed
Revert jest.config.ts back to original
1 parent 28cd2eb commit 6994ac0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

course-matrix/backend/jest.config.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@ import type { Config } from "jest";
22

33
const config: Config = {
44
preset: "ts-jest",
5-
moduleNameMapper: {
6-
"\\.(css|scss)$": "identity-obj-proxy",
7-
"^.+\\.svg": "<rootDir>/tests/mocks/svgMock.tsx",
8-
},
5+
moduleNameMapper: { "\\.(css|scss)$": "identity-obj-proxy" },
96
// to obtain access to the matchers.
10-
setupFilesAfterEnv: ["<rootDir>/tests/setupTests.ts"],
117
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
128
modulePaths: ["<rootDir>"],
139
testEnvironment: "jsdom",
@@ -22,4 +18,4 @@ const config: Config = {
2218
},
2319
};
2420

25-
export default config;
21+
export default config;

0 commit comments

Comments
 (0)