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/coverage/no_tests_included/foo.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/testdata/coverage/no_tests_included/foo.test.ts') diff --git a/cli/tests/testdata/coverage/no_tests_included/foo.test.ts b/cli/tests/testdata/coverage/no_tests_included/foo.test.ts index 06b13d743..12da76d02 100644 --- a/cli/tests/testdata/coverage/no_tests_included/foo.test.ts +++ b/cli/tests/testdata/coverage/no_tests_included/foo.test.ts @@ -1,5 +1,5 @@ import { addNumbers } from "./foo.ts"; -import { assertEquals } from "https://deno.land/std@0.183.0/testing/asserts.ts"; +import { assertEquals } from "../../../../../test_util/std/testing/asserts.ts"; Deno.test("addNumbers works", () => { assertEquals(addNumbers(1, 2), 3); -- cgit v1.2.3