mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 22:21:15 +00:00
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
This commit is contained in:
parent
55f0150854
commit
db9482d688
9 changed files with 14 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue