Skip to content

Commit

Permalink
Adjust Firebase Auth Mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCode92 committed Dec 26, 2024
1 parent dd3f10c commit da9adbc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/authentication/SignInForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ vi.mock("firebase/auth", async function () {
});

vi.mock("@/utils/firebase", async function () {
const firebase = await vi.importActual("@/utils/firebase");
return {
...firebase,
createUserDocumentFromAuth: mocks.createUserDocumentFromAuthFn,
signInAuthUserWithEmailAndPassword: mocks.signInAuthUserFn,
signInWithGooglePopup: mocks.signInWithGooglePopupFn,
Expand Down

0 comments on commit da9adbc

Please sign in to comment.