gotwarlost / 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
8.7k stars 786 forks source link

Gives issues with direct export (ES2015) #622

Open ghost opened 8 years ago

ghost commented 8 years ago

Seems like there are a lot of bugs with Istanbul + ES2015. One of them is that you can't use the export statements as you should with ES2015.

Most of the time Istanbul dies silently, or throw errors.

I gave details about it here: https://github.com/Kflash/farris#known-bugs. See the section about Istanbul.