1
0
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:
Ruben Bridgewater
2015-11-23 23:11:31 +01:00
parent f877c3950c
commit d55017a01e
8 changed files with 37 additions and 12 deletions

View File

@@ -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) {