You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Stricten tests by always ending redis with .end(true) if possible
This commit is contained in:
@@ -29,7 +29,7 @@ describe("The 'incr' method", function () {
|
||||
});
|
||||
|
||||
afterEach(function () {
|
||||
client.end();
|
||||
client.end(true);
|
||||
});
|
||||
|
||||
it("reports an error", function (done) {
|
||||
@@ -64,7 +64,7 @@ describe("The 'incr' method", function () {
|
||||
});
|
||||
|
||||
after(function () {
|
||||
client.end();
|
||||
client.end(true);
|
||||
});
|
||||
|
||||
it("changes the last digit from 2 to 3", function (done) {
|
||||
|
Reference in New Issue
Block a user