1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
This commit is contained in:
Leibale
2023-07-05 16:08:23 -04:00
parent 2dd1f2ca38
commit d298da82dd
8 changed files with 21 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
import { strict as assert } from 'assert';
import testUtils, { GLOBAL } from '../test-utils';
import testUtils, { GLOBAL, BLOCKING_MIN_VALUE } from '../test-utils';
import BRPOP from './BRPOP';
describe('BRPOP', () => {
@@ -21,7 +21,7 @@ describe('BRPOP', () => {
testUtils.testAll('brPop - null', async client => {
assert.equal(
await client.brPop('key', Number.MIN_VALUE),
await client.brPop('key', BLOCKING_MIN_VALUE),
null
);
}, {