Skip to content

Commit

Permalink
chore(test): kill nwProcess via process.kill
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Nov 20, 2024
1 parent 9ebbde4 commit 018ca81
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 @@ -66,7 +66,7 @@ describe('run test suite', async () => {
expect(nwProcess.killed).toEqual(true);
});

nwProcess.kill('SIGTERM');
process.kill(nwProcess.pid, 'SIGTERM');
}
});
});

0 comments on commit 018ca81

Please sign in to comment.