You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Move lots code into separate files and split big functions party into smaller ones
Also refactor small stuff here Removed the .send_anyway boolean and use .ready instead
This commit is contained in:
@@ -747,7 +747,7 @@ describe("The node_redis client", function () {
|
||||
enable_offline_queue: false
|
||||
});
|
||||
client.on('ready', function () {
|
||||
client.stream.writable = false;
|
||||
client.stream.destroy();
|
||||
client.set('foo', 'bar', function (err, res) {
|
||||
assert.strictEqual(err.message, "SET can't be processed. Stream not writeable.");
|
||||
done();
|
||||
|
Reference in New Issue
Block a user