We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be9970b commit 382cfd2Copy full SHA for 382cfd2
jest.config.js
@@ -2,7 +2,7 @@ module.exports = {
2
preset: "ts-jest",
3
testEnvironment: "node",
4
moduleNameMapper: {
5
- "src/(.*)": "<rootDir>/src/$1",
+ "^src/(.*)": "<rootDir>/src/$1",
6
obsidian: "<rootDir>/mocks/obsidian.ts",
7
},
8
globals: {
@@ -11,7 +11,7 @@ module.exports = {
11
12
13
transform: {
14
- '\\.ts$': ['ts-jest'],
15
- '\\.ya?ml$': 'jest-raw-loader',
16
- }
+ "\\.ts$": ["ts-jest"],
+ "\\.ya?ml$": "jest-raw-loader",
+ },
17
};
0 commit comments