forked from gilbarbara/react-joyride
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jestrc
35 lines (35 loc) · 738 Bytes
/
.jestrc
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
33
34
35
{
"transform": {
".*": "<rootDir>/node_modules/babel-jest"
},
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleDirectories": [
"node_modules",
"src"
],
"moduleNameMapper": {
"^.+\\.(css|scss)$": "<rootDir>/test/__setup__/styleMock.js",
"^(.+\\.(jpe?g|png|gif|ttf|eot|svg|md))$": "<rootDir>/test/__setup__/fileMock.js"
},
"setupFiles": [
"<rootDir>/test/__setup__/index.js"
],
"testRegex": "/test/.*?\\.(test|spec)\\.js$",
"collectCoverage": false,
"collectCoverageFrom": [
"src/scripts/**/*.{js,jsx}"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 50,
"statements": 50
}
},
"verbose": true
}