diff --git a/tests/unit/pages/edit-profile/EditProfile.spec.jsx b/tests/unit/pages/edit-profile/EditProfile.spec.jsx index b777fcb5c..430620d62 100644 --- a/tests/unit/pages/edit-profile/EditProfile.spec.jsx +++ b/tests/unit/pages/edit-profile/EditProfile.spec.jsx @@ -71,6 +71,7 @@ const userMock = { } } +<<<<<<< HEAD const mockData = { firstName: '', lastName: '', @@ -82,6 +83,15 @@ const mockData = { videoLink: '', }, }; +======= +vi.mock('react-router-dom', async (importOriginal) => { + const actual = await importOriginal(); + return { + ...actual, + useBlocker: vi.fn(), + }; +}); +>>>>>>> 186c8d3c (changed bug of unsaved changing if leave without changes) vi.mock('~/hooks/use-confirm', () => ({ default: () => ({ checkConfirmation: () => true })