Skip to content

Commit

Permalink
fix: fix broken test (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
uki00a authored Nov 10, 2022
1 parent f00f335 commit 5a40081
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/commands/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
import {
afterAll,
beforeAll,
beforeEach,
describe,
it,
} from "../../vendor/https/deno.land/std/testing/bdd.ts";
Expand Down Expand Up @@ -100,6 +101,10 @@ export function generalTests(
});

describe("exists", () => {
beforeEach(async () => {
await client.flushdb();
});

it("returns if `key` exists", async () => {
const opts = getOpts();
const key = "exists";
Expand Down

0 comments on commit 5a40081

Please sign in to comment.