diff --git a/package.json b/package.json index 83052a43e..2b559bc3d 100644 --- a/package.json +++ b/package.json @@ -127,4 +127,4 @@ "glob-parent": "^5.1.2", "codeceptjs/**/ansi-regex": "^4.1.1" } -} \ No newline at end of file +} diff --git a/src/components/Header/Header.test.tsx b/src/components/Header/Header.test.tsx index 3c601c7aa..802672237 100644 --- a/src/components/Header/Header.test.tsx +++ b/src/components/Header/Header.test.tsx @@ -5,6 +5,10 @@ import Button from '../Button/Button'; import Header from './Header'; +vi.mock('react-router-dom', () => ({ + NavLink: () => 'a', +})); + describe('
', () => { test('renders header', () => { const playlistMenuItems = [