summaryrefslogtreecommitdiff
path: root/cli/tests/node_compat/test/parallel/test-fs-watchfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/node_compat/test/parallel/test-fs-watchfile.js')
-rw-r--r--cli/tests/node_compat/test/parallel/test-fs-watchfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/node_compat/test/parallel/test-fs-watchfile.js b/cli/tests/node_compat/test/parallel/test-fs-watchfile.js
index 4acad4b94..3a77fb56d 100644
--- a/cli/tests/node_compat/test/parallel/test-fs-watchfile.js
+++ b/cli/tests/node_compat/test/parallel/test-fs-watchfile.js
@@ -87,7 +87,7 @@ const watcher =
// 'stop' should only be emitted once - stopping a stopped watcher should
// not trigger a 'stop' event.
-watcher.on('stop', common.mustCall(function onStop() {}));
+watcher.on('stop', common.mustCall());
// Watch events should callback with a filename on supported systems.
// Omitting AIX. It works but not reliably.