Skip to content

Commit

Permalink
test: Fixes act errors in ErrorBoundary test (#21412)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina authored Sep 9, 2022
1 parent 14cd8a2 commit a5e1811
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a5e1811

Please sign in to comment.