MCPcopy
hub / github.com/redis/node-redis / spawnRedisServer

Method spawnRedisServer

packages/test-utils/lib/index.ts:1025–1036  ·  view source on GitHub ↗
(
    options: ClientPoolTestOptions<M, F, S, RESP, TYPE_MAPPING>
  )

Source from the content-addressed store, hash-verified

1023 }
1024
1025 spawnRedisServer<
1026 M extends RedisModules = {},
1027 F extends RedisFunctions = {},
1028 S extends RedisScripts = {},
1029 RESP extends RespVersions = 2,
1030 TYPE_MAPPING extends TypeMapping = {}
1031 // POLICIES extends CommandPolicies = {}
1032 >(
1033 options: ClientPoolTestOptions<M, F, S, RESP, TYPE_MAPPING>
1034 ): Promise<RedisServerDocker> {
1035 return spawnRedisServerDocker(this.#DOCKER_IMAGE, options.serverArguments)
1036 }
1037
1038 async spawnRedisSentinels<
1039 M extends RedisModules = {},

Callers 2

addNodeMethod · 0.80

Calls 1

spawnRedisServerDockerFunction · 0.90

Tested by

no test coverage detected