You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Fix domain handling and tls camelCase settings
Fixes #1106 Fixes #1103 Closes #1104
This commit is contained in:
@@ -35,12 +35,16 @@ describe('utils.js', function () {
|
||||
retryStrategy: false,
|
||||
nested: {
|
||||
onlyContainCamelCaseOnce: true
|
||||
},
|
||||
tls: {
|
||||
rejectUnauthorized: true
|
||||
}
|
||||
});
|
||||
assert.strictEqual(Object.keys(a).length, 4);
|
||||
assert.strictEqual(Object.keys(a).length, 5);
|
||||
assert.strictEqual(a.option_one_two, true);
|
||||
assert.strictEqual(a.retry_strategy, false);
|
||||
assert.strictEqual(a.camel_case, true);
|
||||
assert.strictEqual(a.tls.rejectUnauthorized, true);
|
||||
assert.strictEqual(Object.keys(a.nested).length, 1);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user