summaryrefslogtreecommitdiff
path: root/tests/testdata/publish/jsr_jsonc
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-04-29 10:08:27 -0400
committerGitHub <noreply@github.com>2024-04-29 10:08:27 -0400
commitda52058a945999d486b07700d2834f027a65947c (patch)
treeb6031c274cbc36dcefc6d681473e366cdb208c89 /tests/testdata/publish/jsr_jsonc
parentb02ffec37c73be8a73b95b33b32efa693e84e01b (diff)
chore: migrate bench, publish, and more itests to spec tests (#23584)
Diffstat (limited to 'tests/testdata/publish/jsr_jsonc')
-rw-r--r--tests/testdata/publish/jsr_jsonc/jsr.jsonc11
-rw-r--r--tests/testdata/publish/jsr_jsonc/mod.out6
-rw-r--r--tests/testdata/publish/jsr_jsonc/mod.ts7
-rw-r--r--tests/testdata/publish/jsr_jsonc/std_http.ts6
4 files changed, 0 insertions, 30 deletions
diff --git a/tests/testdata/publish/jsr_jsonc/jsr.jsonc b/tests/testdata/publish/jsr_jsonc/jsr.jsonc
deleted file mode 100644
index 4c9dfb08c..000000000
--- a/tests/testdata/publish/jsr_jsonc/jsr.jsonc
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- // It's .jsonc file so it can have comments
- "name": "@foo/bar",
- "version": "1.0.0",
- "exports": {
- ".": "./mod.ts"
- },
- "imports": {
- "@std/http": "./std_http.ts"
- }
-}
diff --git a/tests/testdata/publish/jsr_jsonc/mod.out b/tests/testdata/publish/jsr_jsonc/mod.out
deleted file mode 100644
index 38b61d568..000000000
--- a/tests/testdata/publish/jsr_jsonc/mod.out
+++ /dev/null
@@ -1,6 +0,0 @@
-Check file:///[WILDCARD]/publish/jsr_jsonc/mod.ts
-Checking for slow types in the public API...
-Check file:///[WILDCARD]/publish/jsr_jsonc/mod.ts
-Publishing @foo/bar@1.0.0 ...
-Successfully published @foo/bar@1.0.0
-Visit http://127.0.0.1:4250/@foo/bar@1.0.0 for details
diff --git a/tests/testdata/publish/jsr_jsonc/mod.ts b/tests/testdata/publish/jsr_jsonc/mod.ts
deleted file mode 100644
index 6e8a61bae..000000000
--- a/tests/testdata/publish/jsr_jsonc/mod.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import http from "@std/http";
-
-export function foobar(): { fileServer(): void } {
- return {
- fileServer: http.fileServer,
- };
-}
diff --git a/tests/testdata/publish/jsr_jsonc/std_http.ts b/tests/testdata/publish/jsr_jsonc/std_http.ts
deleted file mode 100644
index 9d57b36f3..000000000
--- a/tests/testdata/publish/jsr_jsonc/std_http.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-// temp until we get jsr:@std/http in the test server
-export default {
- fileServer() {
- console.log("Hi");
- },
-};