You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
feat: parse info data as numbers if possible and improve parsing
This commit is contained in:
@@ -67,7 +67,7 @@ describe('The \'select\' method', () => {
|
||||
client.set('foo', 'bar').then(() => client._stream.destroy())
|
||||
client.once('ready', () => {
|
||||
assert.strictEqual(client.selectedDb, 3)
|
||||
assert(typeof client.serverInfo.db3 === 'object')
|
||||
assert(typeof client.serverInfo.keyspace.db3 === 'object')
|
||||
done()
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user