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
10 lines
154 B
JSON
10 lines
154 B
JSON
{
|
|
"reporter": ["lcov"],
|
|
"all": true,
|
|
"silent": true,
|
|
"clean": false,
|
|
"sourceMap": false,
|
|
"instrument": false,
|
|
"exclude": ["**/*.spec.js"]
|
|
}
|