[Cleanup] Remove unnecessary null check on auth (#3610)

This commit is contained in:
Chenlei Hu
2025-04-24 17:36:16 -04:00
committed by GitHub
parent 31d5671f24
commit 0ed29a198d
3 changed files with 21 additions and 31 deletions

View File

@@ -142,6 +142,14 @@ vi.mock('@primevue/forms', () => ({
}
}))
vi.mock('@/stores/firebaseAuthStore', () => ({
useFirebaseAuthStore: () => ({
currentUser: {
email: 'test@example.com'
}
})
}))
describe('ReportIssuePanel', () => {
beforeEach(() => {
vi.clearAllMocks()