From 1a42845045e328cdbd477d2910e286d644dee93e Mon Sep 17 00:00:00 2001 From: Vitor Carvalho Date: Wed, 10 Sep 2025 10:33:30 +0100 Subject: [PATCH] fix(docs): typo in usage example (RedisContainer) The usage example has a typo when initiating a new Redis container. It should use `new RedisContainer` instead of `new StartedRedisContainer` --- docs/quickstart/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart/usage.md b/docs/quickstart/usage.md index 80607c639..bb906044f 100644 --- a/docs/quickstart/usage.md +++ b/docs/quickstart/usage.md @@ -77,7 +77,7 @@ describe("Redis", () => { let redisClient: RedisClientType; beforeAll(async () => { - container = await new StartedRedisContainer("redis:8").start(); + container = await new RedisContainer("redis:8").start(); redisClient = createClient({ url: container.getConnectionUrl() }); await redisClient.connect(); });