You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
chore: improve coverage
This commit is contained in:
@@ -198,9 +198,12 @@ describe('The \'multi\' method', () => {
|
||||
client = redis.createClient({
|
||||
host: 'somewhere',
|
||||
port: 6379,
|
||||
family: 'IPv6',
|
||||
retryStrategy () {}
|
||||
})
|
||||
|
||||
assert.strictEqual(client._connectionOptions.family, 6)
|
||||
|
||||
client.on('error', (err) => {
|
||||
assert.strictEqual(err.code, 'NR_CLOSED')
|
||||
done()
|
||||
|
Reference in New Issue
Block a user