You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
tweaks based on running test-suite on Windows on an older Redis
This commit is contained in:
@@ -17,12 +17,7 @@ describe("The 'client' method", function () {
|
||||
client = redis.createClient.apply(redis.createClient, args);
|
||||
client.once("error", done);
|
||||
client.once("connect", function () {
|
||||
client.flushdb(function (err) {
|
||||
if (!helper.serverVersionAtLeast(client, [2, 4, 0])) {
|
||||
err = Error('script not supported in redis <= 2.4.0');
|
||||
}
|
||||
return done(err);
|
||||
});
|
||||
client.flushdb(done)
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user