generated from Real-Dev-Squad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 201
/
nyc.config.js
22 lines (22 loc) · 623 Bytes
/
nyc.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
* Nyc coverage config
* Documentation: https://github.com/istanbuljs/nyc#common-configuration-options
*/
module.exports = {
all: true,
"check-coverage": false, // Will be enabled after reaching 50% coverage: https://github.com/Real-Dev-Squad/website-backend/issues/493
exclude: ["test/**", "mockdata/**", "docs/**", "public/**"],
reporter: ["text", "lcov", "text-summary"],
reportDir: ".coverage",
tempDir: ".coverage",
branches: 50,
lines: 50,
functions: 50,
statements: 50,
watermarks: {
lines: [75, 90],
functions: [75, 90],
branches: [75, 90],
statements: [75, 90],
},
};