summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/compat/worker/worker_test.out
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-02-11 13:41:56 +0100
committerGitHub <noreply@github.com>2022-02-11 13:41:56 +0100
commit2fa0096821cd04334210fcae6f54f85d304dc17a (patch)
treef4c76302e48861e2d7cf802feab9f3d560fd1c9c /cli/tests/testdata/compat/worker/worker_test.out
parent2f2c778a074d0eff991c6c22da54429de3de6704 (diff)
compat: support --compat in web workers (#13629)
Adds another callback to WebWorkerOptions that allows to execute some modules before actual worker code executes. This allows to set up Node global using std/node.
Diffstat (limited to 'cli/tests/testdata/compat/worker/worker_test.out')
-rw-r--r--cli/tests/testdata/compat/worker/worker_test.out2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/testdata/compat/worker/worker_test.out b/cli/tests/testdata/compat/worker/worker_test.out
new file mode 100644
index 000000000..373841945
--- /dev/null
+++ b/cli/tests/testdata/compat/worker/worker_test.out
@@ -0,0 +1,2 @@
+hello from worker
+process.pid from worker: [WILDCARD]