diff options
-rw-r--r-- | test/js/bun/spawn/bun-ipc-child-respond.js | 7 | ||||
-rw-r--r-- | test/js/bun/spawn/bun-ipc-child.js | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/test/js/bun/spawn/bun-ipc-child-respond.js b/test/js/bun/spawn/bun-ipc-child-respond.js index 5cf3ce97f..7b6d86ef2 100644 --- a/test/js/bun/spawn/bun-ipc-child-respond.js +++ b/test/js/bun/spawn/bun-ipc-child-respond.js @@ -1,4 +1,3 @@ - -process.on("message", (message) => { - process.send("pong:" + message); -});
\ No newline at end of file +process.on("message", message => { + process.send("pong:" + message); +}); diff --git a/test/js/bun/spawn/bun-ipc-child.js b/test/js/bun/spawn/bun-ipc-child.js index 5bad9f49a..664224a50 100644 --- a/test/js/bun/spawn/bun-ipc-child.js +++ b/test/js/bun/spawn/bun-ipc-child.js @@ -1 +1 @@ -process.send("hello");
\ No newline at end of file +process.send("hello"); |