You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
נקודה פסיק
This commit is contained in:
@@ -7,8 +7,8 @@ describe('COMMAND DOCS', () => {
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('SORT'),
|
||||
['COMMAND', 'DOCS', 'SORT']
|
||||
transformArguments('sort'),
|
||||
['COMMAND', 'DOCS', 'sort']
|
||||
);
|
||||
});
|
||||
|
||||
@@ -35,13 +35,5 @@ describe('COMMAND DOCS', () => {
|
||||
if (item.subCommands) assert.equal(typeof item.subCommands, 'object');
|
||||
}
|
||||
|
||||
// check with commands names
|
||||
const specifiedDocs = await client.commandDocs('sort', 'get', 'cluster')
|
||||
assert.equal(typeof specifiedDocs, 'object');
|
||||
|
||||
// check with non existing command
|
||||
const nonExistingCommandDocs = await client.commandDocs('foo')
|
||||
assert.equal(typeof specifiedDocs, 'object');
|
||||
|
||||
}, GLOBAL.SERVERS.OPEN);
|
||||
});
|
||||
|
Reference in New Issue
Block a user