test: fix recursive fs.watch error fixture · nodejs/node@ba65bb1 · GitHub
Skip to content

Commit ba65bb1

Browse files
panvaaduh95
authored andcommitted
test: fix recursive fs.watch error fixture
Use a child directory so recursive watcher setup always creates a second watch. Linux no longer watches regular files after the directory watcher optimization. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: #65683 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent 61ca3ba commit ba65bb1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎test/parallel/test-fs-watch-enoent.js‎

Lines changed: 1 addition & 2 deletions

0 commit comments

Comments
 (0)