mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
chore: fix running node tests in parallel on Windows (#18711)
This commit is contained in:
parent
d3bb6ad0af
commit
f8d9ba79dd
2 changed files with 2 additions and 4 deletions
|
@ -54,9 +54,7 @@ export function getPathsFromTestSuites(suites: TestSuites): string[] {
|
||||||
return testPaths;
|
return testPaths;
|
||||||
}
|
}
|
||||||
|
|
||||||
const PARALLEL_PATTERN = Deno.build.os == "windows"
|
const PARALLEL_PATTERN = /^parallel[\/\\]/;
|
||||||
? /^parallel[/\/]/
|
|
||||||
: /^parallel\//;
|
|
||||||
|
|
||||||
export function partitionParallelTestPaths(
|
export function partitionParallelTestPaths(
|
||||||
testPaths: string[],
|
testPaths: string[],
|
||||||
|
|
Loading…
Reference in a new issue