diff options
Diffstat (limited to 'tests/specs/workspaces/patch/workspace/my-pkg/mod.test.ts')
-rw-r--r-- | tests/specs/workspaces/patch/workspace/my-pkg/mod.test.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/specs/workspaces/patch/workspace/my-pkg/mod.test.ts b/tests/specs/workspaces/patch/workspace/my-pkg/mod.test.ts new file mode 100644 index 000000000..1c694298c --- /dev/null +++ b/tests/specs/workspaces/patch/workspace/my-pkg/mod.test.ts @@ -0,0 +1,7 @@ +import { add } from "./mod.ts"; + +Deno.test("add", () => { + if (add(1, 2) !== 3) { + throw new Error("fail"); + } +}); |