-
Notifications
You must be signed in to change notification settings - Fork 18
/
jest.json
58 lines (58 loc) · 1.23 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"preset": "ts-jest",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"jsonld"
],
"collectCoverage": true,
"collectCoverageFrom": [
"packages/**/src/**/*.ts",
"!**/examples/**",
"!packages/cli/**",
"!**/types/**",
"!**/dist/**",
"!**/.yalc/**",
"!**/node_modules/**",
"!**/packages/**/index.ts"
],
"coverageReporters": [
"text",
"lcov",
"json"
],
"coverageDirectory": "./coverage",
"transform": {
"\\.jsx?$": "babel-jest",
"\\.tsx?$": [
"ts-jest",
{
"tsconfig": "./packages/tsconfig-base.json"
}
]
},
"modulePathIgnorePatterns": [
"<rootDir>/packages/presentation-exchange/.yalc/",
"<rootDir>/packages/siopv2-oid4vp-rp-auth/.yalc/",
"<rootDir>/packages/siopv2-oid4vp-rp-rest-api/.yalc/"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/.pnpm/(?!(nist-weierstrauss|multiformatsgggggg|@digitalcredentials\\+vc-status-list|valibot)@)"
],
"testMatch": [
"**/__tests__/**/*.test.*",
"!**/.yalc/**",
"!dist/*"
],
"globals": {
"ts-jest": {
"tsconfig": "./packages/tsconfig-base.json"
}
},
"testEnvironment": "node",
"automock": false,
"verbose": true
}