mirror of
https://github.com/denoland/deno.git
synced 2025-02-03 05:05:35 -05:00
8 lines
129 B
TypeScript
8 lines
129 B
TypeScript
|
import { add } from "./main.ts";
|
||
|
|
||
|
Deno.bench("should add", () => {
|
||
|
if (add(1, 2) !== 3) {
|
||
|
throw new Error("Fail");
|
||
|
}
|
||
|
});
|