summaryrefslogtreecommitdiff
path: root/tests/specs/workspaces/patch/workspace/my-pkg/mod.test.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-08-20 10:11:43 -0400
committerGitHub <noreply@github.com>2024-08-20 14:11:43 +0000
commitf1c58ec041a05276d9f33562a5843c0bb7fb95b3 (patch)
treedc4bca4eab617e75474e19a7491ed88d5ee64fef /tests/specs/workspaces/patch/workspace/my-pkg/mod.test.ts
parent19bcb40059f6ba730b6d05d8edf005c6b40f6ff8 (diff)
feat(unstable): ability to use a local copy of jsr packages (#25068)
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.ts7
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");
+ }
+});