summaryrefslogtreecommitdiff
path: root/tests/testdata/publish/jsr_jsonc/mod.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-02-27 08:27:21 +0000
committerGitHub <noreply@github.com>2024-02-27 08:27:21 +0000
commitf1a691274e59d3f6a1aad19d1aec02a0ffaa51d2 (patch)
tree0f15a121968bd93b2ec4e456d04d00cae483059f /tests/testdata/publish/jsr_jsonc/mod.ts
parentd722de886b85093eeef08d1e9fd6f3193405762d (diff)
feat(publish): discover jsr.json and jsr.jsonc files (#22587)
Closes https://github.com/denoland/deno/issues/22491
Diffstat (limited to 'tests/testdata/publish/jsr_jsonc/mod.ts')
-rw-r--r--tests/testdata/publish/jsr_jsonc/mod.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testdata/publish/jsr_jsonc/mod.ts b/tests/testdata/publish/jsr_jsonc/mod.ts
new file mode 100644
index 000000000..6e8a61bae
--- /dev/null
+++ b/tests/testdata/publish/jsr_jsonc/mod.ts
@@ -0,0 +1,7 @@
+import http from "@std/http";
+
+export function foobar(): { fileServer(): void } {
+ return {
+ fileServer: http.fileServer,
+ };
+}