diff --git a/test/DirectoryWatcher.test.js b/test/DirectoryWatcher.test.js index 4af405a..1179368 100644 --- a/test/DirectoryWatcher.test.js +++ b/test/DirectoryWatcher.test.js @@ -55,7 +55,7 @@ describe("DirectoryWatcher", function() { it("should detect a file change", function(done) { var d = new DirectoryWatcher(fixtures, {}); testHelper.file("a"); - testHelper.tick(function() { + testHelper.tick(1000, function() { var a = d.watch(path.join(fixtures, "a")); a.on("change", function(mtime) { mtime.should.be.type("number"); diff --git a/test/Watchpack.js b/test/Watchpack.js index 1911112..d3452d1 100644 --- a/test/Watchpack.js +++ b/test/Watchpack.js @@ -599,7 +599,7 @@ describe("Watchpack", function() { testHelper.file("a"); testHelper.file("b"); var w = new Watchpack({ - aggregateTimeout: 1500 + aggregateTimeout: 1900 }); var removeEvents = []; w.on("remove", function(file) {