| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -104,6 +104,7 @@ describe('watch mode file watcher', () => { | |||
| 104 | 104 | watcher.watchPath(tmpdir.path); | |
| 105 | 105 | ||
| 106 | 106 | const changed = once(watcher, 'changed'); | |
| 107 | + await setTimeout(common.platformTimeout(100)); // avoid throttling | ||
| 107 | 108 | writeFileSync(file, 'changed'); | |
| 108 | 109 | await changed; | |
| 109 | 110 | assert.strictEqual(changesCount, 1); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments