We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7919eb commit 3261ee5Copy full SHA for 3261ee5
test/parallel/test-fs-promises-watch-iterator.js
@@ -34,8 +34,11 @@ class WatchTestCase {
34
}
35
36
async writeFiles() {
37
- // Do the write with a delay to ensure that the OS is ready to notify us.
38
- await setTimeout(common.platformTimeout(100));
+ if (common.isMacOS) {
+ // Do the write with a delay to ensure that the OS is ready to notify us.
39
+ // See https://github.com/nodejs/node/issues/52601.
40
+ await setTimeout(common.platformTimeout(100));
41
+ }
42
43
for (const fileName of [...this.files]) {
44
await writeFile(this.filePath(fileName), Date.now() + fileName.repeat(1e4));
0 commit comments