1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
This commit is contained in:
Leibale
2023-07-05 16:13:05 -04:00
parent d298da82dd
commit 2a662a367d

View File

@@ -61,3 +61,9 @@ export async function waitTillBeenCalled(spy: SinonSpy): Promise<void> {
await setTimeout(50);
} while (spy.callCount === calls);
}
export const BLOCKING_MIN_VALUE = (
utils.isVersionGreaterThan([7]) ? Number.MIN_VALUE :
utils.isVersionGreaterThan([6]) ? 0.01 :
1
);