You've already forked node-redis
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:
@@ -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
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user