Skip to content

Commit

Permalink
fix: vitest run do not normalize paths on windows x64 platforms (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoann committed Mar 31, 2022
1 parent 43ef6bb commit 87542f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/core.ts
Expand Up @@ -403,7 +403,7 @@ export class Vitest {

let testFiles = await fg(this.config.include, globOptions)

if (filters.length && process.arch === 'win32')
if (filters.length && process.platform === 'win32')
filters = filters.map(f => toNamespacedPath(f))

if (filters.length)
Expand Down

0 comments on commit 87542f8

Please sign in to comment.