1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +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( assert.equal(
await client.randomKey(), await client.randomKey(),
null null
); );
}, GLOBAL.SERVERS.OPEN); }, {
client: GLOBAL.SERVERS.OPEN,
cluster: GLOBAL.CLUSTERS.OPEN
});
}); });