-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjest-preset.json
32 lines (32 loc) · 1.05 KB
/
jest-preset.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"moduleFileExtensions": [
"js",
"jsx",
"json",
"node",
"ts",
"tsx",
"coffee",
"litcoffee",
"coffee.md"
],
"testEnvironment": "<rootDir>/node_modules/jest-preset-atom/environment.js",
"testMatch": [
"**/__tests__/**/*.(js|jsx|json|node|ts|tsx|coffee|litcoffee|coffee.md)",
"**/?(*.)(spec|test).(js|jsx|json|node|ts|tsx|coffee|litcoffee|coffee.md)",
"**/spec/**/*-spec.(js|jsx|json|node|ts|tsx|coffee|litcoffee|coffee.md)"
],
"testPathIgnorePatterns": ["/node_modules/", "/atom/Atom.app/"],
"transform": {
"^.+\\.(coffee|litcoffee|coffee\\.md|js|ts)$":
"<rootDir>/node_modules/jest-preset-atom/transform.js"
},
"transformIgnorePatterns": ["/node_modules/", "/app.asar/"],
"moduleNameMapper": {
"oniguruma": "<rootDir>/node_modules/jest-preset-atom/noop.js",
"text-buffer": "<rootDir>/node_modules/jest-preset-atom/noop.js"
},
"setupTestFrameworkScriptFile":
"<rootDir>/node_modules/jest-preset-atom/setup.js",
"coveragePathIgnorePatterns": ["/node_modules/", "/app.asar/"]
}