summaryrefslogtreecommitdiff
path: root/tests/specs/jsr/worker/main.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-04-24 17:43:34 -0400
committerGitHub <noreply@github.com>2024-04-24 21:43:34 +0000
commitf3284529f1689f1294929eb17c55ddf088f3d3bb (patch)
tree535046cd96db3a39719f3ca5408bb89d5d0387bf /tests/specs/jsr/worker/main.ts
parent5a7414e16349d6872a94db38955bf89edf621c30 (diff)
feat(jsr): support importing from jsr via HTTPS specifiers (except for type checking) (#23513)
Closes https://github.com/jsr-io/jsr/issues/322
Diffstat (limited to 'tests/specs/jsr/worker/main.ts')
-rw-r--r--tests/specs/jsr/worker/main.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/specs/jsr/worker/main.ts b/tests/specs/jsr/worker/main.ts
new file mode 100644
index 000000000..ccab029e6
--- /dev/null
+++ b/tests/specs/jsr/worker/main.ts
@@ -0,0 +1,5 @@
+import { addAsync } from "jsr:@denotest/worker";
+
+addAsync(1, 2).then((result) => {
+ console.log(result);
+});