1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00

fix KEYS spec

This commit is contained in:
dovi
2023-05-02 20:22:11 -04:00
parent 2ea068ac77
commit d810ce644b
3 changed files with 13 additions and 6 deletions

View File

@@ -2,10 +2,13 @@ import { strict as assert } from 'assert';
import testUtils, { GLOBAL } from '../test-utils';
describe('KEYS', () => {
testUtils.testWithClient('client.keys', async client => {
assert.deepEqual(
await client.keys('pattern'),
[]
);
}, GLOBAL.SERVERS.OPEN);
testUtils.testAll('client.keys', async client => {
assert.deepEqual(
await client.keys('pattern'),
[]
);
}, {
client: GLOBAL.SERVERS.OPEN,
cluster: GLOBAL.CLUSTERS.OPEN
});
});