You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Use .end(true) to stricten test cases and improve coverage
This commit is contained in:
@@ -22,7 +22,8 @@ describe("rename commands", function () {
|
||||
rename_commands: {
|
||||
set: '807081f5afa96845a02816a28b7258c3',
|
||||
GETRANGE: '9e3102b15cf231c4e9e940f284744fe0'
|
||||
}
|
||||
},
|
||||
parser: parser
|
||||
});
|
||||
|
||||
client.on('ready', function () {
|
||||
@@ -31,7 +32,7 @@ describe("rename commands", function () {
|
||||
});
|
||||
|
||||
afterEach(function () {
|
||||
client.end();
|
||||
client.end(true);
|
||||
});
|
||||
|
||||
it("allows to use renamed functions", function (done) {
|
||||
|
Reference in New Issue
Block a user