summaryrefslogtreecommitdiff
path: root/cli/tests/subdir/fetching_worker.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-02-21 10:35:41 -0500
committerGitHub <noreply@github.com>2020-02-21 10:35:41 -0500
commitd9efb8c02a0036d755c35e8e9c88d58bd45a9e2b (patch)
tree2ebce022c1c8b286cfb31845f145d8249f7b395e /cli/tests/subdir/fetching_worker.js
parent6dd964384509e71598d08ae09c59f5f2c035a135 (diff)
fix: add io ops to worker to fix fetch (#4054)
Diffstat (limited to 'cli/tests/subdir/fetching_worker.js')
-rw-r--r--cli/tests/subdir/fetching_worker.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/subdir/fetching_worker.js b/cli/tests/subdir/fetching_worker.js
new file mode 100644
index 000000000..a4237a97a
--- /dev/null
+++ b/cli/tests/subdir/fetching_worker.js
@@ -0,0 +1,6 @@
+const r = await fetch(
+ "http://localhost:4545/cli/tests/subdir/fetching_worker.js"
+);
+await r.text();
+postMessage("Done!");
+close();