Skip to content

Commit

Permalink
test: Fixes act errors in TableView test
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Sep 8, 2022
1 parent 0601b2d commit 88c8608
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset-frontend/src/components/TableView/TableView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 88c8608

Please sign in to comment.