summaryrefslogtreecommitdiff
path: root/test/fixtures/worker-script.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/worker-script.mjs')
-rw-r--r--test/fixtures/worker-script.mjs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fixtures/worker-script.mjs b/test/fixtures/worker-script.mjs
new file mode 100644
index 0000000000..b712248b27
--- /dev/null
+++ b/test/fixtures/worker-script.mjs
@@ -0,0 +1,3 @@
+import worker from 'worker';
+
+worker.parentPort.postMessage('Hello, world!');