1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-04 17:18:23 -05:00
denoland-deno/cli/tests/testdata/coverage/no_tests_included/foo.test.ts
Matt Mastracci 270ac0775a
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-09 01:13:27 +02: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);
});