Skip to content

Commit

Permalink
test: update redis test
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 8, 2023
1 parent 82647e0 commit 6ca1f06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/drivers/redis.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("drivers: redis", () => {
lazyConnect: false,
}),
additionalTests() {
it("should work", async () => {
it("verify stored keys", async () => {
const client = new ioredis.default("ioredis://localhost:6379/0");
const keys = await client.keys("*");
expect(keys).toMatchInlineSnapshot(`
Expand All @@ -28,6 +28,7 @@ describe("drivers: redis", () => {
"test:data:raw.bin",
]
`);
await client.disconnect();
});
},
});
Expand Down

0 comments on commit 6ca1f06

Please sign in to comment.