Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yandeu committed Dec 3, 2024
1 parent 5d050a7 commit c8ac90e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ const spawn = (cliPath: string, args: string[]): Promise<void> => {
console.error(`stderr: ${data}`);
});

child.on("error", (err) => {
console.error("Failed to start subprocess.");
return reject();
});

child.on("close", (code) => {
console.log(`child process exited with code ${code}`);
return resolve();
Expand Down

0 comments on commit c8ac90e

Please sign in to comment.