This commit is contained in:
@@ -279,6 +279,10 @@ vi.mock('@tanstack/react-router', async (importActual) => {
|
||||
}
|
||||
})
|
||||
|
||||
vi.mock('@/auth/AuthContext', () => ({
|
||||
useAuth: () => ({ user: { id: 'test-user', platformRole: 'platform_admin' } }),
|
||||
}))
|
||||
|
||||
describe('ReportPage — empty state (sin simulación)', () => {
|
||||
beforeEach(() => {
|
||||
vi.mocked(useReportData).mockReturnValue({
|
||||
|
||||
Reference in New Issue
Block a user