Since we use Babel for the frontend but not the server, I split the coverage config into two separate files, one for the frontend and the other for the server. Refs: - https://github.com/istanbuljs/nyc#nyc - https://github.com/istanbuljs/babel-plugin-istanbul#mocha-on-nodejs-through-nyc Close #2552
23 lines
463 B
JSON
23 lines
463 B
JSON
{
|
|
"reporter": ["lcov"],
|
|
"all": true,
|
|
"silent": true,
|
|
"clean": false,
|
|
"exclude": [
|
|
"**/*.spec.js",
|
|
"**/*.integration.js",
|
|
"dangerfile.js",
|
|
"next.config.js",
|
|
"services/**/*.tester.js",
|
|
"services/service-tester.js",
|
|
"services/create-service-tester.js",
|
|
"services/test-helpers.js",
|
|
"services/test-validators.js",
|
|
"services/icedfrisby-no-nock.js",
|
|
"test-fixtures",
|
|
"scripts",
|
|
"coverage",
|
|
"build"
|
|
]
|
|
}
|