Open WilliamHolmes opened 7 years ago
Are you using it through nyc? https://istanbul.js.org/docs/tutorials/es2015/
I ran into the same issue, and yes i am using nyc.
This doesn't work:
// istanbul ignore next
export function createKeys() {
...
}
This does work:
// istanbul ignore next
function createKeys() {
...
}
export {createKeys};
This worked just fine 😊
export /* istanbul ignore next */ function createKeys() {
...
}
It seems istanbul ignore (or next) is not working on export statements.