mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
test(ext/node): prevent running the same test cases twice (#26812)
This commit is contained in:
parent
bfc143a5ac
commit
b955d03740
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,7 @@ import { magenta } from "@std/fmt/colors";
|
|||
import { pooledMap } from "@std/async/pool";
|
||||
import { dirname, fromFileUrl, join } from "@std/path";
|
||||
import { assertEquals, fail } from "@std/assert";
|
||||
import { distinct } from "@std/collections";
|
||||
import {
|
||||
config,
|
||||
getPathsFromTestSuites,
|
||||
|
@ -36,6 +37,9 @@ const testPaths = partitionParallelTestPaths(
|
|||
getPathsFromTestSuites(config.ignore),
|
||||
),
|
||||
);
|
||||
testPaths.sequential = distinct(testPaths.sequential);
|
||||
testPaths.parallel = distinct(testPaths.parallel);
|
||||
|
||||
const cwd = new URL(".", import.meta.url);
|
||||
const windowsIgnorePaths = new Set(
|
||||
getPathsFromTestSuites(config.windowsIgnore),
|
||||
|
|
Loading…
Reference in a new issue