diff options
Diffstat (limited to 'test/parallel/test-fs-watch.js')
-rw-r--r-- | test/parallel/test-fs-watch.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-fs-watch.js b/test/parallel/test-fs-watch.js index 94a81799e5..ffa82e52c7 100644 --- a/test/parallel/test-fs-watch.js +++ b/test/parallel/test-fs-watch.js @@ -54,6 +54,7 @@ for (const testCase of cases) { } assert.fail(err); }); + watcher.on('close', common.mustCall()); watcher.on('change', common.mustCall(function(eventType, argFilename) { if (interval) { clearInterval(interval); |