From d9efb8c02a0036d755c35e8e9c88d58bd45a9e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 21 Feb 2020 10:35:41 -0500 Subject: fix: add io ops to worker to fix fetch (#4054) --- cli/tests/subdir/fetching_worker.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 cli/tests/subdir/fetching_worker.js (limited to 'cli/tests') 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(); -- cgit v1.2.3