Skip to content

Commit

Permalink
Merge pull request #15 from hapinessjs/reconnect
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
juneil committed Dec 21, 2018
2 parents edfccdc + 8824967 commit 78ef8ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/mocks/redis.mock.ts
Expand Up @@ -15,8 +15,7 @@ export class FakeRedisClient extends EventEmitter {
}

get(param: string, cb: redis.Callback<string>) {
setTimeout(() => cb(null, param), 250);
// cb(null, param);
cb(null, param);
return true;
}

Expand Down

0 comments on commit 78ef8ed

Please sign in to comment.