node/test/common/watch.js
Joyee Cheung da5df1dd0a
test: split test-runner-watch-mode-kill-signal
This test has been timing out in the CI with no information about
why. Splitting it into multiple files to at least show which test
case is timing out.

Drive-by: name the test as test-watch-mode-kill-signal-* as the
tests aren't testing the test runner and are just testing
--watch-kill-signal.

PR-URL: https://github.com/nodejs/node/pull/60298
Refs: https://github.com/nodejs/node/issues/60297
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
2025-10-19 14:20:09 +00:00

17 lines
349 B
JavaScript

'use strict';
const common = require('./index.js');
exports.skipIfNoWatchModeSignals = function() {
if (common.isWindows) {
common.skip('no signals on Windows');
}
if (common.isIBMi) {
common.skip('IBMi does not support `fs.watch()`');
}
if (common.isAIX) {
common.skip('folder watch capability is limited in AIX.');
}
};