Skip to content

Commit

Permalink
run: consistently name tests with / path separators
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Oct 28, 2023
1 parent ecdd3ce commit 5550301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run/src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const run = async (args: string[], config: LoadedConfig) => {
if (files.length === 1) return t.stdinOnly()
else return t.stdin()
}
const name = relative(config.globCwd, file)
const name = relative(config.globCwd, file).replace(/\\/g, '/')
const mapped = map(name)
let coveredFiles: null | string[] =
mapped === null
Expand Down

0 comments on commit 5550301

Please sign in to comment.