Thanks to visit codestin.com Credit goes to github.com
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 625f674 commit 5fba382Copy full SHA for 5fba382
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