Skip to content

Commit

Permalink
Add Mock for Firebase Config
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCode92 committed Dec 26, 2024
1 parent a64e213 commit dd3f10c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/setup.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import * as matchers from "@testing-library/jest-dom/matchers";
import { cleanup } from "@testing-library/react";
import { afterEach, expect } from "vitest";
import { afterEach, expect, vi } from "vitest";

expect.extend(matchers);

vi.mock("@/config/firebase");

afterEach(() => {
cleanup();
});

0 comments on commit dd3f10c

Please sign in to comment.