-
-
Notifications
You must be signed in to change notification settings - Fork 371
Expand file tree
/
Copy pathjest.config.js
More file actions
23 lines (23 loc) · 594 Bytes
/
jest.config.js
File metadata and controls
23 lines (23 loc) · 594 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = {
...(require('./test/config/baseConfig')),
preset: 'ts-jest',
collectCoverageFrom: ['<rootDir>/packages/**/*.ts', '<rootDir>/packages/**/*.tsx'],
modulePathIgnorePatterns: ['<rootDir>/test', '<rootDir>/.vscode-test', '/constants\.ts', '/exception/'],
coverageDirectory: '<rootDir>/coverage',
coverageThreshold: {
// global: {
// statements: 13,
// branches: 7,
// functions: 15,
// lines: 14,
// },
},
testMatch: ['**/*.test.(ts)'],
globals: {
'ts-jest': {
diagnostics: {
warnOnly: true
}
}
}
};