test: Fixes act errors in TableView test (#21375)

This commit is contained in:
Michael S. Molina 2022-09-08 13:37:33 -03:00 committed by GitHub
parent 6de6fe0e43
commit 834ec7e4d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,8 @@ const mockedProps: TableViewProps = {
pageSize: 1,
};
jest.mock('src/components/Icons/Icon', () => () => <span />);
test('should render', () => {
const { container } = render(<TableView {...mockedProps} />);
expect(container).toBeInTheDocument();