Skip to content

Commit 287c47a

Browse files
committed
test: allow change events in fs watcher ref/unref test
The test checks watcher reference handling and process exit, not the absence of filesystem events. Do not fail on incidental change events. Signed-off-by: inoway46 <inoueyuya416@gmail.com> Assisted-by: Codex
1 parent 50ba1ec commit 287c47a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/parallel/test-fs-watch-ref-unref.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (common.isIBMi)
77

88
const fs = require('fs');
99

10-
const watcher = fs.watch(__filename, common.mustNotCall());
10+
const watcher = fs.watch(__filename);
1111

1212
watcher.unref();
1313

0 commit comments

Comments
 (0)