forked from istanbuljs/babel-plugin-istanbul
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for instrumenter options
This adds support for: * coverageVariable * coverageGlobalScope * coverageGlobalScopeFunc * ignoreClassMethods Fixes istanbuljs#208, fixes istanbuljs#212
- Loading branch information
1 parent
93db21a
commit d360388
Showing
3 changed files
with
120 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class Foo1 { | ||
bar() {} | ||
barz() {} | ||
} | ||
|
||
class Foo2 { | ||
bar() {} | ||
barz() {} | ||
} | ||
|
||
module.exports = { Foo1, Foo2 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters