mirror of
https://github.com/denoland/deno.git
synced 2025-09-24 03:12:29 +00:00
7 lines
132 B
TypeScript
7 lines
132 B
TypeScript
import { add } from "./source.ts";
|
|
|
|
Deno.test("add()", () => {
|
|
if (add(1, 2) !== 3) {
|
|
throw new Error("test failed");
|
|
}
|
|
});
|