mirror of https://github.com/apache/superset.git
test: Fixes act errors in PageHeaderWithActions test (#21389)
This commit is contained in:
parent
a95e1c8a3e
commit
9259f6e218
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue