forked from privacy-scaling-explorations/p0tion
-
Notifications
You must be signed in to change notification settings - Fork 36
/
jest.json
36 lines (36 loc) · 1.04 KB
/
jest.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
{
"testPathIgnorePatterns": [".d.ts", ".js", "packages/actions/test/unit/contract.test.ts"],
"moduleNameMapper": {
"@p0tion/(.*)$": "<rootDir>/packages/$1"
},
"modulePaths": ["<rootDir>"],
"testTimeout": 100000000,
"setupFiles": ["dotenv/config"],
"collectCoverageFrom": [
"packages/actions/**/*",
"!packages/actions/test/data/*",
"!packages/actions/test/utils/*",
"!packages/backend/**/*",
"!packages/phase2cli/**/*",
"!packages/**/rollup.config.ts",
"!**/dist/**",
"!**/node_modules/**",
"!**/build/**",
"!**/*.d.ts",
"!packages/actions/hardhat.config.ts",
"!packages/actions/src/index.ts",
"!packages/actions/types/*.d.ts"
],
"verbose": true,
"collectCoverage": true,
"coverageDirectory": "coverage/",
"coverageProvider": "v8",
"coverageThreshold": {
"global": {
"branches": 60,
"functions": 60,
"lines": 60,
"statements": 60
}
}
}