Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test/parallel/test-fs-watch-recursive-add-file-to-new-folder.js
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Ceres6 and lpinca authored Oct 31, 2024
commit 43f81a6e05d576f4e7016d0777e87bb386112df8
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ function doWatch() {
watcher.on('change', function(event, filename) {
if (filename === childrenRelativePath) {
assert.strictEqual(event, 'rename');
assert.ok(filename === path.basename(filePath) || filename === childrenRelativePath);
watcher.close();
watcherClosed = true;
}
Expand Down