diff --git a/test/parallel/test-vm-sigint-existing-handler.js b/test/parallel/test-vm-sigint-existing-handler.js index c0ab1f8d92b821..10df3888d38e41 100644 --- a/test/parallel/test-vm-sigint-existing-handler.js +++ b/test/parallel/test-vm-sigint-existing-handler.js @@ -43,7 +43,7 @@ if (process.argv[2] === 'child') { process.on('SIGINT', common.mustCall(() => { // Handler attached _after_ execution. - if (afterHandlerCalled++ == 0) { + if (afterHandlerCalled++ === 0) { // The first time it just bounces back to check that the `once()` // handler is not called the second time. process.kill(parent, 'SIGUSR2');