diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-04-26 19:00:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 19:00:04 -0400 |
commit | 58eab0e2b37fd8c3c83445196d4bde419740373d (patch) | |
tree | 213d98203d18ce6f261f0e4b240450e1c4db73fc /cli/tests/testdata/test/captured_output.worker.js | |
parent | 2c33293f665c4d86a2196c3b2c0aa45b15b533c3 (diff) |
fix(test): capture worker stdout and stderr in test output (#14410)
Diffstat (limited to 'cli/tests/testdata/test/captured_output.worker.js')
-rw-r--r-- | cli/tests/testdata/test/captured_output.worker.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/test/captured_output.worker.js b/cli/tests/testdata/test/captured_output.worker.js new file mode 100644 index 000000000..b674bce56 --- /dev/null +++ b/cli/tests/testdata/test/captured_output.worker.js @@ -0,0 +1,6 @@ +self.onmessage = () => { + console.log(9); + console.error(10); + self.postMessage({}); + self.close(); +}; |