test: Fixes act errors in HeaderReportDropdown test (#21376)

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

View File

@ -24,6 +24,8 @@ import HeaderReportDropdown, { HeaderReportProps } from '.';
let isFeatureEnabledMock: jest.MockInstance<boolean, [string]>;
jest.mock('src/components/Icons/Icon', () => () => <span />);
const createProps = () => ({
dashboardId: 1,
useTextMenu: false,