diff --git a/frontend/src/pages/tags/TagDetailPage.test.tsx b/frontend/src/pages/tags/TagDetailPage.test.tsx index 370dcc2..e86cbbb 100644 --- a/frontend/src/pages/tags/TagDetailPage.test.tsx +++ b/frontend/src/pages/tags/TagDetailPage.test.tsx @@ -34,7 +34,11 @@ const renderPage = () => describe ('TagDetailPage', () => { beforeEach (() => { - vi.resetAllMocks () + vi.clearAllMocks () + tagsApi.fetchTag.mockReset () + api.apiPut.mockReset () + api.isApiError.mockReset () + toastApi.toast.mockReset () api.isApiError.mockReturnValue (false) })