diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-05-23 13:04:12 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 03:04:12 +0000 |
commit | 71375491d135b7e5e48a09a39317aa7510594a35 (patch) | |
tree | 269474a0e0a56f8f7fe97e8fbadaaa4617a1ed0e /tests/specs/test/clean_flag/sum_test.js | |
parent | fab4c1776b0f212f0a9f5b82842115b9b7e87d4b (diff) |
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
Diffstat (limited to 'tests/specs/test/clean_flag/sum_test.js')
-rw-r--r-- | tests/specs/test/clean_flag/sum_test.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/specs/test/clean_flag/sum_test.js b/tests/specs/test/clean_flag/sum_test.js new file mode 100644 index 000000000..3443fcbd3 --- /dev/null +++ b/tests/specs/test/clean_flag/sum_test.js @@ -0,0 +1,6 @@ +import { sum } from "./sum.js"; +import { assertEquals } from "../../../util/std/assert/assert_equals.ts"; + +Deno.test("sum()", () => { + assertEquals(sum(1, 2), 3); +}); |