0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tests/testdata/coverage/no_tests_included/foo.test.ts
Matt Mastracci db9482d688
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
2023-06-08 18:10:37 +00:00

6 lines
199 B
TypeScript

import { addNumbers } from "./foo.ts";
import { assertEquals } from "../../../../../test_util/std/testing/asserts.ts";
Deno.test("addNumbers works", () => {
assertEquals(addNumbers(1, 2), 3);
});