summaryrefslogtreecommitdiff
path: root/cli/tests/node_compat/common.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2023-03-21 22:38:07 +0900
committerGitHub <noreply@github.com>2023-03-21 22:38:07 +0900
commitaa729a42b4257b4d58bfcd0270566756c9470d08 (patch)
treead9bcd33f812d753c62250094d416834999fb5a5 /cli/tests/node_compat/common.ts
parentc34e26a9d56596645ee63b19f99c09cf4aea4b37 (diff)
chore(tools): restore node compat test setup script (#18290)
Diffstat (limited to 'cli/tests/node_compat/common.ts')
-rw-r--r--cli/tests/node_compat/common.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/node_compat/common.ts b/cli/tests/node_compat/common.ts
index 0941e2c8f..e774991f6 100644
--- a/cli/tests/node_compat/common.ts
+++ b/cli/tests/node_compat/common.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
-import { partition } from "std/collections/mod.ts";
-import { join } from "std/path/mod.ts";
+import { partition } from "../../../test_util/std/collections/partition.ts";
+import { join } from "../../../test_util/std/path/mod.ts";
/**
* The test suite matches the folders inside the `test` folder inside the
@@ -35,7 +35,7 @@ export const ignoreList = Object.entries(config.ignore).reduce(
paths.forEach((path) => total.push(new RegExp(join(suite, path))));
return total;
},
- [],
+ [/package\.json/],
);
export function getPathsFromTestSuites(suites: TestSuites): string[] {