This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new b08049aff0 test: Fixes act errors in HeaderReportDropdown test (#21376)
b08049aff0 is described below

commit b08049aff0472fcf25133ffda354bd013f1b7ec9
Author: Michael S. Molina <[email protected]>
AuthorDate: Thu Sep 8 15:02:08 2022 -0300

    test: Fixes act errors in HeaderReportDropdown test (#21376)
---
 .../src/components/ReportModal/HeaderReportDropdown/index.test.tsx      | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/superset-frontend/src/components/ReportModal/HeaderReportDropdown/index.test.tsx
 
b/superset-frontend/src/components/ReportModal/HeaderReportDropdown/index.test.tsx
index 61b948c96f..d978bd2bb8 100644
--- 
a/superset-frontend/src/components/ReportModal/HeaderReportDropdown/index.test.tsx
+++ 
b/superset-frontend/src/components/ReportModal/HeaderReportDropdown/index.test.tsx
@@ -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,

Reply via email to