Skip to content

Commit

Permalink
history.push jest function added
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <[email protected]>
  • Loading branch information
ps48 committed Jan 5, 2024
1 parent aefae34 commit e78034e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ describe('<Notebook /> 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));
Expand Down

0 comments on commit e78034e

Please sign in to comment.