Skip to content

Commit

Permalink
test: fix c8 coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Oct 31, 2022
1 parent bba74a0 commit 80bb559
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 58 deletions.
2 changes: 1 addition & 1 deletion packages/coverage-c8/src/provider.ts
Expand Up @@ -58,7 +58,7 @@ export class C8CoverageProvider implements CoverageProvider {
if (!map)
return

const url = _url.pathToFileURL(file.replace(/\?(.*)/, '')).href
const url = _url.pathToFileURL(file.split('?')[0]).href

let code: string | undefined
try {
Expand Down

0 comments on commit 80bb559

Please sign in to comment.