We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 0f88e2e commit 8014a39Copy full SHA for 8014a39
test/ManyWatchers.js
@@ -17,7 +17,7 @@ describe("ManyWatchers", function() {
17
18
it("should watch more than 4096 directories", done => {
19
const files = [];
20
- for (let i = 1; i <= 5000; i++) {
+ for (let i = 1; i < 5000; i++) {
21
let highBit = 1;
22
let j = i;
23
while (j > 1) {
@@ -38,6 +38,8 @@ describe("ManyWatchers", function() {
38
files.push(path.join(fixtures, dir, "file2"));
39
}
40
41
+ testHelper.file("file");
42
+ files.push(path.join(fixtures, "file"));
43
testHelper.tick(1000, () => {
44
const w = new Watchpack({
45
aggregateTimeout: 1000
0 commit comments