You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix some Z (sorted list) commands, increase commands test coverage
This commit is contained in:
@@ -30,7 +30,18 @@ describe('COMMAND INFO', () => {
|
||||
);
|
||||
});
|
||||
|
||||
testUtils.testWithClient('client.commandInfo', async client => {
|
||||
assertPingCommand((await client.commandInfo(['PING']))[0]);
|
||||
}, GLOBAL.SERVERS.OPEN);
|
||||
describe('client.commandInfo', () => {
|
||||
testUtils.testWithClient('PING', async client => {
|
||||
assertPingCommand((await client.commandInfo(['PING']))[0]);
|
||||
}, GLOBAL.SERVERS.OPEN);
|
||||
|
||||
testUtils.testWithClient('DOSE_NOT_EXISTS', async client => {
|
||||
assert.deepEqual(
|
||||
await client.commandInfo(['DOSE_NOT_EXISTS']),
|
||||
[null]
|
||||
);
|
||||
}, GLOBAL.SERVERS.OPEN);
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user