You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
feat: add auto pipeline
This commit is contained in:
@@ -49,6 +49,7 @@ describe('The \'info\' method', () => {
|
||||
})
|
||||
|
||||
it('return error after a failure', () => {
|
||||
client.on('error', helper.isError(/This socket is closed/))
|
||||
const promise = client.info().then(helper.fail).catch((err) => {
|
||||
assert.strictEqual(err.code, 'UNCERTAIN_STATE')
|
||||
assert.strictEqual(err.command, 'INFO')
|
||||
|
Reference in New Issue
Block a user