support coverage ignore hints
Support either /* istanbul ignore next/if/else */ or /* coverage ignore next/if/else */
Thanks a lot for your patch! 😃
I’ll take a closer look when I have more time.
Seems that it doesn’t work with exported function:
// coverage ignore next
export function hello () {
itsMe()
}
Normal function works:
// coverage ignore next
function hello () {
fromTheOtherSide()
}
Anything I can do to help get this through the finish line? I want to make this plugin the de-facto standard for code coverage with babel-transpiled codebases, and I think that I'd get a bit of push back until this is implemented :-)
@kentcdodds I currently don't have the bandwidth to improve this due to my fork fitting my current use case, but feel free to fork from my fork and see if you can address any remaining problems!