Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kane50613 committed Mar 4, 2024
1 parent 3e41d1b commit a32a510
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/create-redis.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a32a510

Please sign in to comment.