Skip to content

c8 report doesn't work on Windows #41

@weswigham

Description

@weswigham
  • Version:
    3.2.1
  • Platform:
    Windows 10

c8 report always outputs an empty report block on windows, no matter what include or exclude options you do (or don't) provide. Looking at it, it looks like the coverage files being produced on windows have paths like file:///E:/Github/TypeScript/built/local/tsc.js, which c8 then shortens to /E:/Github/TypeScript/built/local/tsc.js internally, which I'm guessing don't glob match (anything) correctly inside test-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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions