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: improve coverage further
This commit is contained in:
@@ -507,6 +507,15 @@ describe('connection tests', () => {
|
||||
assert(delayed)
|
||||
end()
|
||||
})
|
||||
// Cover info parts with no value
|
||||
setImmediate(() => {
|
||||
const command = client.commandQueue.peekAt(0)
|
||||
const callback = command.callback
|
||||
command.callback = (err, res) => {
|
||||
res += 'added:\r\n'
|
||||
callback(err, res)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
it('redis still loading > 1000ms', (done) => {
|
||||
|
Reference in New Issue
Block a user