You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix WAIT spec & clean code
This commit is contained in:
@@ -10,10 +10,13 @@ describe('WAIT', () => {
|
||||
);
|
||||
});
|
||||
|
||||
testUtils.testWithClient('client.wait', async client => {
|
||||
testUtils.testAll('wait', async client => {
|
||||
assert.equal(
|
||||
await client.wait(0, 1),
|
||||
0
|
||||
);
|
||||
}, GLOBAL.SERVERS.OPEN);
|
||||
}, {
|
||||
client: GLOBAL.SERVERS.OPEN,
|
||||
cluster: GLOBAL.CLUSTERS.OPEN
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user