-
-
Notifications
You must be signed in to change notification settings - Fork 277
Expand file tree
/
Copy pathjest.config.js
More file actions
29 lines (23 loc) · 803 Bytes
/
jest.config.js
File metadata and controls
29 lines (23 loc) · 803 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
/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/configuration
*/
const merge = require('deepmerge');
const path = require('path');
const baseConfig = require('../../jest.config.packages');
const displayName = path.basename(__dirname);
module.exports = merge(baseConfig, {
// The display name when running multiple projects
displayName,
// An array of glob patterns indicating a set of files for which coverage information should be collected
collectCoverageFrom: ['!./src/**/*.test-d.ts'],
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 81.49,
functions: 90.66,
lines: 89.13,
statements: 89.2,
},
},
});