We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68936c5 commit be70890Copy full SHA for be70890
test/auth.spec.js
@@ -70,6 +70,17 @@ describe("client authentication", function () {
70
});
71
72
73
+ it('allows auth to be provided post-hoc with auth method', function (done) {
74
+ if (helper.redisProcess().spawnFailed()) this.skip();
75
+
76
+ var args = config.configureClient(parser, ip);
77
+ client = redis.createClient.apply(redis.createClient, args);
78
+ client.auth(auth);
79
+ client.on("ready", function () {
80
+ return done();
81
+ });
82
83
84
it('reconnects with appropriate authentication', function (done) {
85
if (helper.redisProcess().spawnFailed()) this.skip();
86
0 commit comments