-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
c8 report
doesn't work on Windows
#41
Comments
Hi, Same problem here on Windows 10. Deleting the last v8ScriptCov.url = v8ScriptCov.url.replace(/^file:\/\/\//, '') Best Regards, |
Same problem, Windows 10 build 1809 (17763.134). The workaround I use right now involves enabling WSL, installing Ubuntu and then running c8 from a bash prompt. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
3.2.1
Windows 10
c8 report
always outputs an empty report block on windows, no matter whatinclude
orexclude
options you do (or don't) provide. Looking at it, it looks like the coverage files being produced on windows have paths likefile:///E:/Github/TypeScript/built/local/tsc.js
, whichc8
then shortens to/E:/Github/TypeScript/built/local/tsc.js
internally, which I'm guessing don't glob match (anything) correctly insidetest-exclude
, since that's not how windows-style paths are typically rooted (though I'm not sure - that last bit's a guess, since I'm not too familiar with the package).The text was updated successfully, but these errors were encountered: