Skip to content

Commit

Permalink
test: fix on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Oct 27, 2023
1 parent 0a0387a commit 1db0e04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/count-to-10/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"scripts": {
"postinstall": "node postinstall",
"signal-abrt": "echo 'signal-exit script' && kill -s ABRT $$",
"signal-int": "echo 'signal-int script' && kill -s INT $$"
"signal-int": "node signalInt.js"
}
}
4 changes: 4 additions & 0 deletions test/fixtures/count-to-10/signalInt.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
console.log('signal-int script');

// Emit SIGINT event for the process
process.kill(process.pid, 'SIGINT');

0 comments on commit 1db0e04

Please sign in to comment.