1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/tests/testdata/coverage/no_tests_included/foo.test.mts
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);
});