summaryrefslogtreecommitdiff
path: root/tests/testdata/run/unstable_http.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/unstable_http.js')
-rw-r--r--tests/testdata/run/unstable_http.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/testdata/run/unstable_http.js b/tests/testdata/run/unstable_http.js
deleted file mode 100644
index 7ad09aec5..000000000
--- a/tests/testdata/run/unstable_http.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const scope = import.meta.url.slice(-7) === "#worker" ? "worker" : "main";
-
-console.log(scope, Deno.HttpClient);
-console.log(scope, Deno.createHttpClient);
-
-if (scope === "worker") {
- postMessage("done");
-} else {
- const worker = new Worker(`${import.meta.url}#worker`, { type: "module" });
- worker.onmessage = () => Deno.exit(0);
-}