1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

fix linting and timeout issue

This commit is contained in:
Benjamin Coe
2015-09-12 22:59:47 -07:00
parent 20bc05abb5
commit 71ea42f1bd
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ describe("The 'expire' method", function () {
client.EXPIRE(["expiry key", "1"], helper.isNumber(1));
setTimeout(function () {
client.exists(["expiry key"], helper.isNumber(0, done));
}, 2000);
}, 3000);
});
afterEach(function () {

View File

@@ -662,7 +662,7 @@ describe("The node_redis client", function () {
// TODO: figure out why we emit an error on
// even though we've enabled the offline queue.
if (process.platform === 'win32') return;
if (err) return done(err)
if (err) return done(err);
});
return setTimeout(function(){