mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 02:27:46 -05:00
7 lines
120 B
TypeScript
7 lines
120 B
TypeScript
import { add } from "./mod.ts";
|
|
|
|
Deno.test("add", () => {
|
|
if (add(1, 2) !== 3) {
|
|
throw new Error("fail");
|
|
}
|
|
});
|