diff --git a/src/App.test.js b/src/App.test.js index dedbcaa..934ce8c 100644 --- a/src/App.test.js +++ b/src/App.test.js @@ -22,6 +22,10 @@ jest.mock('./components/LocationMarker', () => { return jest.fn(() =>
Mocked LocationMarker
); }); +jest.mock('./components/SearchArea', () => { + return jest.fn(() =>
Mocked SearchArea
); +}); + test('Loading... is shown on site', () => { render(); const loadingElement = screen.getByText(/Loading.../);