diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-06-08 12:10:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 18:10:37 +0000 |
commit | db9482d6880739f4333ce80d9e40f856a0ebefa7 (patch) | |
tree | 709038e682254b365b54b54e329220e78e2e3d26 /cli/tests/testdata/coverage/no_tests_included | |
parent | 55f01508540e015563e5e54fd0652e81b347b9c1 (diff) |
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
Diffstat (limited to 'cli/tests/testdata/coverage/no_tests_included')
3 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/testdata/coverage/no_tests_included/foo.test.js b/cli/tests/testdata/coverage/no_tests_included/foo.test.js index 06b13d743..12da76d02 100644 --- a/cli/tests/testdata/coverage/no_tests_included/foo.test.js +++ b/cli/tests/testdata/coverage/no_tests_included/foo.test.js @@ -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); diff --git a/cli/tests/testdata/coverage/no_tests_included/foo.test.mts b/cli/tests/testdata/coverage/no_tests_included/foo.test.mts index 44aa73872..5d8ae9f27 100644 --- a/cli/tests/testdata/coverage/no_tests_included/foo.test.mts +++ b/cli/tests/testdata/coverage/no_tests_included/foo.test.mts @@ -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); 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); |