Skip to content

Commit

Permalink
Revert "Increase test delays on Travis"
Browse files Browse the repository at this point in the history
This reverts commit 4014925.
  • Loading branch information
es128 committed Apr 21, 2015
1 parent 4014925 commit 1336fd0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ var fixturesPath = getFixturePath('');

var watcher, watcher2;

var travisDelay = process.env.TRAVIS ? 200 : 0;

before(function() {
try { fs.mkdirSync(fixturesPath, 0x1ed); } catch(err) {}
});
Expand Down Expand Up @@ -55,7 +53,7 @@ after(function() {


describe('chokidar', function() {
this.timeout(4000);
this.timeout(3000);
it('should expose public API methods', function() {
chokidar.FSWatcher.should.be.a('function');
chokidar.watch.should.be.a('function');
Expand Down Expand Up @@ -94,9 +92,9 @@ function runTests(options) {
}
function d(fn, quicker, forceTimeout) {
if (options.usePolling || forceTimeout) {
return setTimeout.bind(null, fn, (quicker ? 300 : 900) + travisDelay);
return setTimeout.bind(null, fn, quicker ? 300 : 900);
} else {
return setTimeout.bind(null, fn, 25 + travisDelay);
return setTimeout.bind(null, fn, 25);
}
}
function dd(fn, slower) {
Expand Down

0 comments on commit 1336fd0

Please sign in to comment.