1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/packages/client/lib/commands/KEYS.spec.ts
2023-09-18 15:03:07 -04:00

15 lines
329 B
TypeScript

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