forked from awslabs/diagram-maker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.json
More file actions
35 lines (35 loc) · 966 Bytes
/
jest.json
File metadata and controls
35 lines (35 loc) · 966 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
26
27
28
29
30
31
32
33
34
35
{
"collectCoverage": true,
"collectCoverageFrom": ["src/**/*.{ts,tsx}"],
"coveragePathIgnorePatterns": [
"/testing/",
"/typings/"
],
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": ["text-summary", "cobertura", "html", "json-summary"],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"moduleFileExtensions": ["ts", "tsx", "js", "jsx"],
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/src/__mocks__/style.ts",
"^diagramMaker/(.*)$": "<rootDir>/src/$1"
},
"setupFiles": [
"<rootDir>/src/testing/testEnvironment.ts"
],
"snapshotSerializers": [ "preact-render-spy/snapshot" ],
"testMatch": ["**/?(*.)(spec|test).(ts|tsx)"],
"testURL": "http://console.aws.amazon.com#mock",
"transform": {
"\\.(ts|tsx|js|jsx)": "ts-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!lodash-es)"
]
}