You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Add support for client.unref()
and client.ref()
(#2188)
* close #2185 - add support for client.unref() and client.ref() * allow sync tests
This commit is contained in:
@@ -107,7 +107,7 @@ export default class TestUtils {
|
||||
S extends RedisScripts
|
||||
>(
|
||||
title: string,
|
||||
fn: (client: RedisClientType<M, F, S>) => Promise<unknown>,
|
||||
fn: (client: RedisClientType<M, F, S>) => unknown,
|
||||
options: ClientTestOptions<M, F, S>
|
||||
): void {
|
||||
let dockerPromise: ReturnType<typeof spawnRedisServer>;
|
||||
@@ -166,7 +166,7 @@ export default class TestUtils {
|
||||
S extends RedisScripts
|
||||
>(
|
||||
title: string,
|
||||
fn: (cluster: RedisClusterType<M, F, S>) => Promise<void>,
|
||||
fn: (cluster: RedisClusterType<M, F, S>) => unknown,
|
||||
options: ClusterTestOptions<M, F, S>
|
||||
): void {
|
||||
let dockersPromise: ReturnType<typeof spawnRedisCluster>;
|
||||
|
Reference in New Issue
Block a user