You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
chore: use short handle for process.nextTick
This commit is contained in:
@@ -476,12 +476,10 @@ describe('The nodeRedis client', () => {
|
||||
assert(err instanceof redis.InterruptError)
|
||||
error = err.origin
|
||||
})
|
||||
// Make sure we call execute out of the reply
|
||||
// ready is called in a reply
|
||||
process.nextTick(() => {
|
||||
// Fail the set answer. Has no corresponding command obj and will therefore land in the error handler and set
|
||||
client._replyParser.execute(Buffer.from('a*1\r*1\r$1`zasd\r\na'))
|
||||
})
|
||||
// Make sure we call execute out of the reply.
|
||||
// Ready is called in a reply.
|
||||
// Fail the set answer. Has no corresponding command obj and will therefore land in the error handler and set
|
||||
process.nextTick(() => client._replyParser.execute(Buffer.from('a*1\r*1\r$1`zasd\r\na')))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user