-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathjest.config.js
More file actions
13 lines (13 loc) · 667 Bytes
/
Copy pathjest.config.js
File metadata and controls
13 lines (13 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
module.exports = {
preset: "ts-jest/presets/js-with-ts",
testEnvironment: "node",
moduleNameMapper: {
"^src/(.*)$": "<rootDir>/src/$1",
"^@quartz-community/remark-obsidian$":
"<rootDir>/node_modules/@quartz-community/remark-obsidian/dist/index.js",
},
testPathIgnorePatterns: ["/node_modules/", "/test/e2e/"],
transformIgnorePatterns: [
"node_modules/(?!(unified|remark-.+|@quartz-community/remark-obsidian|unist-util-.+|mdast-util-.+|micromark|micromark-.+|decode-named-character-reference|character-entities|devlop|longest-streak|ccount|escape-string-regexp|markdown-table|zwitch|trough|bail|is-plain-obj|vfile|vfile-message|fault|format)/)",
],
};