-
Notifications
You must be signed in to change notification settings - Fork 85
/
jest.conf.json
41 lines (41 loc) · 940 Bytes
/
jest.conf.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
33
34
35
36
37
38
39
40
41
{
"notify": false,
"setupFiles": [
"raf/polyfill",
"./src/__spec_helper__/index.js"
],
"setupFilesAfterEnv": [
"./src/__spec_helper__/expect.js"
],
"snapshotSerializers": ["enzyme-to-json/serializer"],
"testMatch": [
"**/__spec__.js",
"**/*.spec.js"
],
"moduleDirectories": [ "src", "node_modules" ],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"collectCoverage": true,
"coveragePathIgnorePatterns": [ "node_modules", "src\/__spec_helper__" ],
"coverageReporters": [ "text-summary", "html" ],
"coverageDirectory": "<rootDir>/coverage",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest",
"^.+\\.svg$": "<rootDir>/svgTransform.js"
}
}