You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Stricten tests by always ending redis with .end(true) if possible
This commit is contained in:
@ -24,7 +24,9 @@ describe("client authentication", function () {
|
||||
client = null;
|
||||
});
|
||||
afterEach(function () {
|
||||
client.end();
|
||||
// Explicitly ignore still running commands
|
||||
// The ready command could still be running
|
||||
client.end(false);
|
||||
});
|
||||
|
||||
it("allows auth to be provided with 'auth' method", function (done) {
|
||||
|
Reference in New Issue
Block a user