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

Add tests and improve older tests

This commit is contained in:
Ruben Bridgewater
2015-12-30 16:14:23 +01:00
parent 2cd3818ea9
commit 5ef24a90b6
12 changed files with 199 additions and 98 deletions

View File

@@ -14,10 +14,9 @@ describe("The 'keys' method", function () {
var client;
beforeEach(function (done) {
args = args || {};
client = redis.createClient.apply(redis.createClient, args);
client.once("ready", function () {
client.flushdb(done);
client.flushall(done);
});
});