mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
968f441da3
Ref https://github.com/denoland/deno/issues/25241 Rewritten these tests: - check::package_json_basic - check::package_json_fail_check - check::package_json_with_deno_json - info::package_json_basic - test::package_json_basic - run::package_json_auto_discovered_for_npm_binary - run::package_json_with_deno_json
7 lines
127 B
TypeScript
7 lines
127 B
TypeScript
import { add } from "./lib.ts";
|
|
|
|
Deno.test("should add", () => {
|
|
if (add(1, 2) !== 3) {
|
|
throw new Error("Fail");
|
|
}
|
|
});
|