Skip to content

Commit

Permalink
fixup! "fs: add AbortSignal support to watch"
Browse files Browse the repository at this point in the history
Co-authored-by: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
benjamingr and RaisinTen authored Feb 3, 2021
1 parent 377f6e9 commit c85efae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-fs-watch-abort-signal.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ const fixtures = require('../common/fixtures');
const ac = new AbortController();
const { signal } = ac;
ac.abort();
const wathcer = fs.watch(file, { signal });
wathcer.once('close', common.mustCall());
const watcher = fs.watch(file, { signal });
watcher.once('close', common.mustCall());
}

0 comments on commit c85efae

Please sign in to comment.