diff --git a/src/QuickMarcEditor/QuickMarcEditor.test.js b/src/QuickMarcEditor/QuickMarcEditor.test.js index 214a7d81..a9bba2a3 100644 --- a/src/QuickMarcEditor/QuickMarcEditor.test.js +++ b/src/QuickMarcEditor/QuickMarcEditor.test.js @@ -28,6 +28,7 @@ import { bibLeader } from '../../test/jest/fixtures/leaders'; jest.mock('react-router', () => ({ ...jest.requireActual('react-router'), useLocation: jest.fn(), + withRouter: Component => props => , })); jest.mock('../queries', () => ({