Skip to content

Commit

Permalink
better timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jan 7, 2019
1 parent fb16799 commit 9515ece
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/DirectoryWatcher.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion test/Watchpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9515ece

Please sign in to comment.