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: mark private variables as such and remove obsolete ones
This commit is contained in:
@@ -76,7 +76,7 @@ describe('TLS connection tests', () => {
|
||||
assert.strictEqual(client.emittedEnd, true)
|
||||
assert.strictEqual(client.connected, false)
|
||||
assert.strictEqual(client.ready, false)
|
||||
assert.strictEqual(client.closing, true)
|
||||
assert.strictEqual(client._closing, true)
|
||||
assert.strictEqual(time, connectTimeout)
|
||||
done()
|
||||
})
|
||||
@@ -97,8 +97,8 @@ describe('TLS connection tests', () => {
|
||||
})
|
||||
|
||||
// verify connection is using TCP, not UNIX socket
|
||||
assert.strictEqual(client.connectionOptions.host, 'localhost')
|
||||
assert.strictEqual(client.connectionOptions.port, tlsPort)
|
||||
assert.strictEqual(client._connectionOptions.host, 'localhost')
|
||||
assert.strictEqual(client._connectionOptions.port, tlsPort)
|
||||
assert.strictEqual(client.address, `localhost:${tlsPort}`)
|
||||
assert(client._stream.encrypted)
|
||||
|
||||
|
Reference in New Issue
Block a user