-
Notifications
You must be signed in to change notification settings - Fork 1
/
jest.config.json
41 lines (41 loc) · 1.19 KB
/
jest.config.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
{
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/mocks/chromeMock.js",
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
},
"setupFiles": [],
"collectCoverage": true,
"collectCoverageFrom": ["**/*.{js, jsx}"],
"coveragePathIgnorePatterns": [
"<rootDir>/build/",
"<rootDir>/node_modules/",
"<rootDir>/coverage/",
"<rootDir>/src/images/",
"<rootDir>/src/SVG/",
"<rootDir>/src/setupTests.js",
"<rootDir>/public/firebaseInit.js",
"<rootDir>/public/github-oauth.js",
"<rootDir>/public/githubTracker.js",
"<rootDir>/public/background.js",
"<rootDir>/public/js",
"<rootDir>/src/serviceWorker.js",
"<rootDir>/babel.config.js",
"<rootDir>/out/",
"<rootDir>/public/LandingPage/",
"<rootDir>/tests/end2endTests/",
"<rootDir>/tests/mocks/",
"<rootDir>/src/index.js",
"<rootDir>/src/App.js",
"<rootDir>/functions/",
"<rootDir>/docs/js"
],
"coverageReporters": ["json", "text", "text-summary", "html", "lcov"],
"coverageThreshold": {
"global": {
"lines": 90,
"statements": 90,
"functions": 90
}
},
"verbose": false
}