diff --git a/src/ColumnsBlock/ColumnsBlockView.test.js b/src/ColumnsBlock/ColumnsBlockView.test.js index 6c91c04..367e500 100644 --- a/src/ColumnsBlock/ColumnsBlockView.test.js +++ b/src/ColumnsBlock/ColumnsBlockView.test.js @@ -55,14 +55,14 @@ const TextView = ({ data }) => { return data.text; }; -jest.mock("react-router-dom", () => ({ - ...jest.requireActual("react-router-dom"), +jest.mock('react-router-dom', () => ({ + ...jest.requireActual('react-router-dom'), useLocation: () => ({ - pathname: "/", - hash: "", - search: "", - state: undefined - }) + pathname: '/', + hash: '', + search: '', + state: undefined, + }), })); test('renders 2 columns', async () => {