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: minor refactoring
This commit is contained in:
@@ -520,7 +520,7 @@ describe('The nodeRedis client', () => {
|
||||
|
||||
client.on('error', (err) => {
|
||||
console.log(err)
|
||||
if (err.code === 'CONNECTION_BROKEN') {
|
||||
if (err.code === 'NR_CLOSED') {
|
||||
assert(i, 3)
|
||||
assert.strictEqual(client.offlineQueue.length, 0)
|
||||
assert.strictEqual(err.origin.code, 'ECONNREFUSED')
|
||||
|
Reference in New Issue
Block a user