You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Improve error handling
Added individual error classes Don't silently fail for commands without callback from now on General polishing (e.g. better error messages) Fix typos
This commit is contained in:
@@ -36,7 +36,7 @@ describe("The 'batch' method", function () {
|
||||
batch.set('foo', 'bar');
|
||||
batch.exec(function (err, res) {
|
||||
assert.strictEqual(err, null);
|
||||
assert.strictEqual(res[0].code, 'NR_OFFLINE');
|
||||
assert.strictEqual(res[0].code, 'NR_CLOSED');
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user