1
0
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:
Ruben Bridgewater
2017-05-30 07:28:43 +02:00
parent b6c317dbb0
commit 581d4a29f3
4 changed files with 15 additions and 8 deletions

View File

@@ -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) => {