summaryrefslogtreecommitdiff
path: root/cli/tests/node_compat/common.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/node_compat/common.ts')
-rw-r--r--cli/tests/node_compat/common.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/tests/node_compat/common.ts b/cli/tests/node_compat/common.ts
index e774991f6..e9cfe3191 100644
--- a/cli/tests/node_compat/common.ts
+++ b/cli/tests/node_compat/common.ts
@@ -54,9 +54,7 @@ export function getPathsFromTestSuites(suites: TestSuites): string[] {
return testPaths;
}
-const PARALLEL_PATTERN = Deno.build.os == "windows"
- ? /^parallel[/\/]/
- : /^parallel\//;
+const PARALLEL_PATTERN = /^parallel[\/\\]/;
export function partitionParallelTestPaths(
testPaths: string[],