Open mocheng opened 10 years ago
+1 for that feature request
I have partially figured how to implement this on my end - already have a working QUnit build, but need help in finding how to pass attachComment: true
option to esprima
.
Anyone knows how I can do so from within the blanket source? Once that's done I can submit a PR.
Figured it out. See alex-seville/blanket#460. The same changes can be applied to master
(the development
branch seems messy at the moment..).
Sometimes, it would be good to exempt part of code from coverage report with comments.
Like:
// blanket: disable
Code to be exempted
// blanket: enable