mirror of
https://github.com/apache/superset.git
synced 2024-09-07 06:17:45 -04:00
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 { PageHeaderWithActions, PageHeaderWithActionsProps } from './index';
|
||||||
import { Menu } from '../Menu';
|
import { Menu } from '../Menu';
|
||||||
|
|
||||||
|
jest.mock('src/components/Icons/Icon', () => () => <span />);
|
||||||
|
|
||||||
const defaultProps: PageHeaderWithActionsProps = {
|
const defaultProps: PageHeaderWithActionsProps = {
|
||||||
editableTitleProps: {
|
editableTitleProps: {
|
||||||
title: 'Test title',
|
title: 'Test title',
|
||||||
|
Loading…
Reference in New Issue
Block a user