test: Fixes act errors in PageHeaderWithActions test (#21389)

This commit is contained in:
Michael S. Molina 2022-09-08 18:49:15 -03:00 committed by GitHub
parent a95e1c8a3e
commit 9259f6e218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ import userEvent from '@testing-library/user-event';
import { PageHeaderWithActions, PageHeaderWithActionsProps } from './index';
import { Menu } from '../Menu';
jest.mock('src/components/Icons/Icon', () => () => <span />);
const defaultProps: PageHeaderWithActionsProps = {
editableTitleProps: {
title: 'Test title',