- Avoid giving coverage for bundled, but ensure included in instrumented path
This commit is contained in:
15
cypress/support/copy.js
Normal file
15
cypress/support/copy.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/* globals require */
|
||||
/* eslint-disable import/no-commonjs */
|
||||
|
||||
const copyfiles = require('copyfiles');
|
||||
const pkg = require('../../package.json');
|
||||
|
||||
copyfiles([
|
||||
...pkg.nyc.exclude,
|
||||
'instrumented'
|
||||
], {
|
||||
up: 1
|
||||
}, () => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Done');
|
||||
});
|
||||
Reference in New Issue
Block a user