Skip to content

Commit

Permalink
test: 🚨 mock firebase even more
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfSoko committed Nov 19, 2024
1 parent 3d42638 commit 2dea29d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DatabaseService } from './database.service';
import { Repo } from './repo.service';

vi.mock('@angular/fire/firestore', async () => ({
...(await vi.importActual('@angular/fire/firestore')),
Firestore: vi.fn(),
collection: vi.fn(),
}));
describe('DatabaseService', () => {
Expand Down

0 comments on commit 2dea29d

Please sign in to comment.