We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e83d879 commit 377f6e9Copy full SHA for 377f6e9
test/parallel/test-fs-watch-abort-signal.js
@@ -17,8 +17,8 @@ const fixtures = require('../common/fixtures');
17
const file = fixtures.path('empty.js');
18
const ac = new AbortController();
19
const { signal } = ac;
20
- const wathcer = fs.watch(file, { signal });
21
- wathcer.once('close', common.mustCall());
+ const watcher = fs.watch(file, { signal });
+ watcher.once('close', common.mustCall());
22
setImmediate(() => ac.abort());
23
}
24
{
0 commit comments