-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Sometimes, I'm aware that a certain line is not going to be covered (say, because it's related to another platform. For example, when I run my test under node.js, browser-specific branches are not going to be touched).
There should be an option to ignore those lines (so that I can still automatically require 100% coverage). It could look like this:
if (!require) {
XMLSerializer = window.XMLSerializer; // pragma: ignore
}
In the HTML output, the ignored lines could be marked with a light yellow hint.
Metadata
Metadata
Assignees
Labels
No labels