diff --git a/test/parallel/test-fs-watch-stop-async.js b/test/parallel/test-fs-watch-stop-async.js index 6716f1fcb2f..61db2a300f9 100644 --- a/test/parallel/test-fs-watch-stop-async.js +++ b/test/parallel/test-fs-watch-stop-async.js @@ -1,9 +1,10 @@ 'use strict'; const common = require('../common'); + const assert = require('assert'); const fs = require('fs'); -const watch = fs.watchFile(__filename, common.noop); +const watch = fs.watchFile(__filename, common.mustNotCall()); let triggered; const listener = common.mustCall(() => { triggered = true;