-
Notifications
You must be signed in to change notification settings - Fork 20
/
jest.json
34 lines (34 loc) · 896 Bytes
/
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
{
"preset": "ts-jest",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx"],
"collectCoverage": true,
"collectCoverageFrom": [
"packages/**/src/**/*.ts",
"packages/**/lib/**/*.ts",
"!**/examples/**",
"!packages/cli/**",
"!**/types/**",
"!**/dist/**",
"!**/coverage/**",
"!**/node_modules/**/__tests__/**",
"!**/node_modules/**/*.test.ts",
"!**/node_modules/**",
"!**/packages/**/index.ts"
],
"coverageReporters": ["text", "lcov", "json"],
"coverageDirectory": "./coverage",
"transform": {
"\\.jsx?$": "babel-jest",
"\\.tsx?$": [
"ts-jest",
{
"tsconfig": "./packages/tsconfig-base.json"
}
]
},
"testMatch": ["**/__tests__/**/*.spec.*", "**/tests/**/*.spec.*"],
"modulePathIgnorePatterns": ["<rootDir>/packages/siop-oid4vp"],
"testEnvironment": "node",
"automock": false,
"verbose": true
}