-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.json
More file actions
25 lines (25 loc) · 711 Bytes
/
jest.config.json
File metadata and controls
25 lines (25 loc) · 711 Bytes
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
{
"rootDir": "./",
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest/legacy"
},
"verbose": true,
"fakeTimers": {
"enableGlobally": true
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.ts$",
"testPathIgnorePatterns": ["<rootDir>/lib"],
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/__tests__/*.test.ts",
"<rootDir>/src/**/**/**/*.ts"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/src/wasmLoaders/emscriptenImports.ts"
],
"coverageReporters": ["json", "text", "lcov", "jest-badges"],
"coverageDirectory": "coverage",
"errorOnDeprecated": true
}