Skip to content

Commit

Permalink
fix: use istanbul instrumenter
Browse files Browse the repository at this point in the history
Enable the istanbul instrumenter when not using babel
  • Loading branch information
Christoffer Åström committed Nov 18, 2019
1 parent 2d43754 commit 79fd9a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/node/src/index.js
Expand Up @@ -283,6 +283,7 @@ const node = {
.middleware(mwargv => {
if (!mwargv.babel.enable && mwargv.coverage) {
mwargv.nyc.hookRequire = true; // Enable nyc instrumenting on the fly
mwargv.nyc.instrumenter = './lib/instrumenters/istanbul';
}
});
},
Expand Down

0 comments on commit 79fd9a0

Please sign in to comment.