diff --git a/public/components/notebooks/components/__tests__/notebook.test.tsx b/public/components/notebooks/components/__tests__/notebook.test.tsx index e0462821ad..f8f0c209fc 100644 --- a/public/components/notebooks/components/__tests__/notebook.test.tsx +++ b/public/components/notebooks/components/__tests__/notebook.test.tsx @@ -56,6 +56,7 @@ describe(' spec', () => { location.search = ''; const history = jest.fn() as any; history.replace = jest.fn(); + history.push = jest.fn(); it('renders the empty component and test reporting action button', async () => { httpClient.get = jest.fn(() => Promise.resolve((emptyNotebook as unknown) as HttpResponse));