diff --git a/test/create-redis.test.ts b/test/create-redis.test.ts index b7bac88..d4dca09 100644 --- a/test/create-redis.test.ts +++ b/test/create-redis.test.ts @@ -10,7 +10,9 @@ test("create-redis", async () => { expect(redis).toBeDefined(); - const PONG = Buffer.from("PONG"); + const encoder = new TextEncoder(); + + const PONG = encoder.encode("PONG"); expect(await redis.raw("PING")).toEqual(PONG);