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

Do not use "timers/promises", fix "isRedisVersionGreaterThan"

This commit is contained in:
leibale
2021-07-12 19:04:14 -04:00
parent ad545b8230
commit b6629645cf
7 changed files with 22 additions and 18 deletions

View File

@@ -11,12 +11,9 @@ describe('XCLAIM JUSTID', () => {
});
itWithClient(TestRedisServers.OPEN, 'client.xClaimJustId', async client => {
await Promise.all([
client.xGroupCreate('key', 'group', '$', {
MKSTREAM: true
}),
client.xGroupCreateConsumer('key', 'group', 'consumer'),
]);
await client.xGroupCreate('key', 'group', '$', {
MKSTREAM: true
});
assert.deepEqual(
await client.xClaimJustId('key', 'group', 'consumer', 1, '0-0'),