1
0
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:
dovi
2023-05-03 14:42:31 -04:00
parent f2326e5efa
commit 3050cc8659
2 changed files with 6 additions and 3 deletions

View File

@@ -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
});
});