Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Istanbul
hasn't been officially updated for 2 years since 0.4.5 version came out. That version (the newest stable one) usesbabel-core 6.x.x
and LuigiCore uses@babel/core ^7.0.0
.Somehow it just can't run together in harmony, furthermore having 2 Babels would be confusing (at least). I've searched the whole Internet and everyone says the only solution is including an alpha version of
Istanbul
which works really well (they say) and uses@babel/core
."What about
test:watch
?"It works as it did before. The report is generated after you end the watch process (ctrl+c).
No, there's no other solution. Istanbul collects data from the output of Mocha's test process. An output is generated at process' exit.
Although final changes are really small, this wasn't an easy task. I've tried everything I could to avoid alpha version of
Istanbul
+ there were many more complications.Changes proposed in this pull request:
Istanbul
lib to generate test coverage reportRelated issue(s)