Skip to content

Commit

Permalink
chore(test): try alternate way to killing node process on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Nov 20, 2024
1 parent ff05267 commit 9fb1432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/specs/run.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('run test suite', async () => {
it('runs and is killed via code', async () => {
const nwProcess = await run(nwOptions);
if (nwProcess) {
nwProcess.kill();
process.kill(nwProcess.pid);
expect(nwProcess.killed).toEqual(true);
}
});
Expand Down

0 comments on commit 9fb1432

Please sign in to comment.