jeffrifwald / babel-istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
144 stars 23 forks source link

How to set the special flags when using babel-istanbul? #27

Closed gajus closed 8 years ago

gajus commented 8 years ago

https://github.com/ambitioninc/babel-istanbul#special-flags

How to set these when using babel-istanbul programmatically?

gajus commented 8 years ago
.istanbul({
    babelStage: 0
})