From db9482d6880739f4333ce80d9e40f856a0ebefa7 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Thu, 8 Jun 2023 12:10:37 -0600 Subject: chore: Use relative paths for assert imports to avoid test flakes (#19427) Tests occasionally fail if we get a bad gateway attempting to fetch the assertion module --- cli/tests/testdata/compile/dynamic_imports/main_unanalyzable.ts | 2 +- cli/tests/testdata/compile/standalone_follow_redirects_2.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/testdata/compile') diff --git a/cli/tests/testdata/compile/dynamic_imports/main_unanalyzable.ts b/cli/tests/testdata/compile/dynamic_imports/main_unanalyzable.ts index e8e3e849b..ee8ff2c4b 100644 --- a/cli/tests/testdata/compile/dynamic_imports/main_unanalyzable.ts +++ b/cli/tests/testdata/compile/dynamic_imports/main_unanalyzable.ts @@ -1,4 +1,4 @@ -import { join } from "https://deno.land/std@0.178.0/path/mod.ts"; +import { join } from "../../../../../test_util/std/path/mod.ts"; console.log("Starting the main module"); diff --git a/cli/tests/testdata/compile/standalone_follow_redirects_2.js b/cli/tests/testdata/compile/standalone_follow_redirects_2.js index c0130ef5a..a1bf83875 100644 --- a/cli/tests/testdata/compile/standalone_follow_redirects_2.js +++ b/cli/tests/testdata/compile/standalone_follow_redirects_2.js @@ -2,4 +2,4 @@ import { assertNotEquals as _a, assertStrictEquals as _b, -} from "https://deno.land/std/testing/asserts.ts"; +} from "../../../../test_util/std/testing/asserts.ts"; -- cgit v1.2.3