From 71ea42f1bd25b532109da27ebb09154ef97b2644 Mon Sep 17 00:00:00 2001 From: Benjamin Coe Date: Sat, 12 Sep 2015 22:59:47 -0700 Subject: [PATCH] fix linting and timeout issue --- test/commands/expire.spec.js | 2 +- test/node_redis.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/commands/expire.spec.js b/test/commands/expire.spec.js index 5d5ca2d2dc..3e700206e6 100644 --- a/test/commands/expire.spec.js +++ b/test/commands/expire.spec.js @@ -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 () { diff --git a/test/node_redis.spec.js b/test/node_redis.spec.js index d1e8a0790f..5de97ff230 100644 --- a/test/node_redis.spec.js +++ b/test/node_redis.spec.js @@ -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(){