bcoe / bcoe/c8

Configuring Babel source maps with AVA.

Open
#296 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
2.1k
Forks
99
PR merge metrics
No merged PRs in 30d

Description

I am using`c8` on top of `AVA` that uses `babel` to transpile the sources on the fly. Is it expected that `sourceMaps: "inline"` works but `sourceMaps: true` does not? In the sense that the coverage reports are correct with the first, and incorrect with the second. Same issue when using `nyc` instead of `c8`. Perhaps it would work without inline source maps if there was an intermediate step generating `.js` and `.map` files on disk. Would `ava` be responsible to make this seamless?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.