mirror of https://github.com/apache/superset.git
test: Fixes act errors in ErrorBoundary test (#21412)
This commit is contained in:
parent
14cd8a2160
commit
a5e1811ee4
|
@ -20,6 +20,8 @@ import React from 'react';
|
|||
import { render, screen } from 'spec/helpers/testing-library';
|
||||
import ErrorBoundary from '.';
|
||||
|
||||
jest.mock('src/components/Icons/Icon', () => () => <span />);
|
||||
|
||||
const mockedProps = {
|
||||
children: <span>Error children</span>,
|
||||
onError: () => null,
|
||||
|
|
Loading…
Reference in New Issue