summaryrefslogtreecommitdiff
path: root/cli/tests/subdir/test_worker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/subdir/test_worker.ts')
-rw-r--r--cli/tests/subdir/test_worker.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/subdir/test_worker.ts b/cli/tests/subdir/test_worker.ts
new file mode 100644
index 000000000..c8109d131
--- /dev/null
+++ b/cli/tests/subdir/test_worker.ts
@@ -0,0 +1,7 @@
+onmessage = function(e): void {
+ console.log(e.data);
+
+ postMessage(e.data);
+
+ workerClose();
+};