Skip to content

Commit 665c6f9

Browse files
committed
fix
1 parent 21f27f0 commit 665c6f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-watch-recursive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ tmpdir.refresh();
223223

224224
let watcherClosed = false;
225225
const watcher = fs.watch(testDirectory, { recursive: true });
226-
watcher.on('change', common.mustCall(async (event, filename) => {
226+
watcher.on('change', common.mustCallAtLeast(async (event, filename) => {
227227
await setTimeout(common.platformTimeout(100));
228228
if (filename === path.basename(filePath)) {
229229
watcher.close();

0 commit comments

Comments
 (0)