diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-21 10:35:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 10:35:41 -0500 |
commit | d9efb8c02a0036d755c35e8e9c88d58bd45a9e2b (patch) | |
tree | 2ebce022c1c8b286cfb31845f145d8249f7b395e /cli/tests/subdir/fetching_worker.js | |
parent | 6dd964384509e71598d08ae09c59f5f2c035a135 (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.js | 6 |
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(); |