diff --git a/src/__tests__/EditTournamentForm.test.tsx b/src/__tests__/EditTournamentForm.test.tsx index b578c3f..85e16d9 100644 --- a/src/__tests__/EditTournamentForm.test.tsx +++ b/src/__tests__/EditTournamentForm.test.tsx @@ -40,7 +40,8 @@ const mockTournament = { describe('EditTournamentForm', () => { beforeEach(() => { - mock.clearAllMocks() + // Only clear the specific mocks we create, not global module mocks + mockFetch.mockClear() }) it('renders form with initial values', () => {