summaryrefslogtreecommitdiff
path: root/tests/specs/compile/patch/main
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/compile/patch/main
parent19bcb40059f6ba730b6d05d8edf005c6b40f6ff8 (diff)
feat(unstable): ability to use a local copy of jsr packages (#25068)
Diffstat (limited to 'tests/specs/compile/patch/main')
-rw-r--r--tests/specs/compile/patch/main/deno.json5
-rw-r--r--tests/specs/compile/patch/main/main.ts3
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/specs/compile/patch/main/deno.json b/tests/specs/compile/patch/main/deno.json
new file mode 100644
index 000000000..5d341f168
--- /dev/null
+++ b/tests/specs/compile/patch/main/deno.json
@@ -0,0 +1,5 @@
+{
+ "patch": [
+ "../add"
+ ]
+}
diff --git a/tests/specs/compile/patch/main/main.ts b/tests/specs/compile/patch/main/main.ts
new file mode 100644
index 000000000..8fb44d2ed
--- /dev/null
+++ b/tests/specs/compile/patch/main/main.ts
@@ -0,0 +1,3 @@
+import { add } from "jsr:@denotest/add";
+
+console.log(add(1, 2));