1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

fix RANDOMKEY spec

This commit is contained in:
dovi
2023-05-03 14:26:25 -04:00
parent 7d963a5d1b
commit 485a4f3adc

View File

@@ -10,10 +10,13 @@ describe('RANDOMKEY', () => {
);
});
testUtils.testWithClient('client.randomKey', async client => {
testUtils.testAll('randomKey', async client => {
assert.equal(
await client.randomKey(),
null
);
}, GLOBAL.SERVERS.OPEN);
}, {
client: GLOBAL.SERVERS.OPEN,
cluster: GLOBAL.CLUSTERS.OPEN
});
});