diff options
author | 2023-01-23 15:59:45 -0800 | |
---|---|---|
committer | 2023-01-23 15:59:45 -0800 | |
commit | 79c0b614ee04d06d9565cd52450b0de1f58fa87e (patch) | |
tree | 3bd01e49d3f6ecb3e04bf3ff71552b5c14bf0298 /test/bun.js/spawned-child.js | |
parent | f5cda8ff1871571e3a6e655326fcda56e65e0dfb (diff) | |
download | bun-79c0b614ee04d06d9565cd52450b0de1f58fa87e.tar.gz bun-79c0b614ee04d06d9565cd52450b0de1f58fa87e.tar.zst bun-79c0b614ee04d06d9565cd52450b0de1f58fa87e.zip |
fix child process node test hang (#1884)
* fix test hang from skipped tests
* add error target
Diffstat (limited to 'test/bun.js/spawned-child.js')
-rw-r--r-- | test/bun.js/spawned-child.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/bun.js/spawned-child.js b/test/bun.js/spawned-child.js index d39131933..738d42f7e 100644 --- a/test/bun.js/spawned-child.js +++ b/test/bun.js/spawned-child.js @@ -22,6 +22,8 @@ if (TARGET === "STDIN") { }); } else if (TARGET === "STDOUT") { process.stdout.write("stdout_test"); +} else if (TARGET === "ERROR") { + console.log("oops"); } else { - console.log("unknown target! you messed up..."); + // nothing } |