Closed jlami closed 3 years ago
//istanbul ignore next should be taken into account by the instrumenter
//istanbul ignore next
The coverage does not take the instructions into account, so coverage is lower than it should be.
https://github.com/jlami/rollup-starter-project/tree/ignore-bug This has an extra function at https://github.com/jlami/rollup-starter-project/blob/ignore-bug/lib/index.js#L41 But the coverage is only 50% of the functions when the test is run.
Windows, but I don't think this will matter
Sorry for answering late but this not to be related with this repo but with istanbul.
Expected Behavior
//istanbul ignore next
should be taken into account by the instrumenterCurrent Behavior
The coverage does not take the instructions into account, so coverage is lower than it should be.
Steps to Reproduce
https://github.com/jlami/rollup-starter-project/tree/ignore-bug This has an extra function at https://github.com/jlami/rollup-starter-project/blob/ignore-bug/lib/index.js#L41 But the coverage is only 50% of the functions when the test is run.
Context (Environment)
Windows, but I don't think this will matter