1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-13 02:52:54 -05:00
denoland-deno/tests/specs/test/clean_flag/sum_test.js
Asher Gomez 71375491d1
feat(cli/test): deno test --clean (#23519)
The result of the call is ignored as it throws even when the directory
does not exist.

Closes #23491
2024-05-23 03:04:12 +00:00

6 lines
168 B
JavaScript

import { sum } from "./sum.js";
import { assertEquals } from "../../../util/std/assert/assert_equals.ts";
Deno.test("sum()", () => {
assertEquals(sum(1, 2), 3);
});