summaryrefslogtreecommitdiff
path: root/test/parallel/test-util-sigint-watchdog.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-util-sigint-watchdog.js')
-rw-r--r--test/parallel/test-util-sigint-watchdog.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/parallel/test-util-sigint-watchdog.js b/test/parallel/test-util-sigint-watchdog.js
index 207f44b011..6debd18d05 100644
--- a/test/parallel/test-util-sigint-watchdog.js
+++ b/test/parallel/test-util-sigint-watchdog.js
@@ -1,14 +1,13 @@
'use strict';
const common = require('../common');
-const assert = require('assert');
-const binding = process.binding('util');
-
if (common.isWindows) {
// No way to send CTRL_C_EVENT to processes from JS right now.
common.skip('platform not supported');
- return;
}
+const assert = require('assert');
+const binding = process.binding('util');
+
[(next) => {
// Test with no signal observed.
binding.startSigintWatchdog();