Skip to content

Commit

Permalink
chore: fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Sep 14, 2024
1 parent 1f0c839 commit 131a0d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/purging.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ jest.mock("../src/helpers/get-comment-details", () => ({
}),
}));

jest.mock("@supabase/supabase-js", () => {
return {
createClient: jest.fn(() => ({})),
};
});

beforeAll(() => server.listen());
afterEach(() => server.resetHandlers());
afterAll(() => server.close());
Expand Down

0 comments on commit 131a0d8

Please sign in to comment.