From a5e1811ee4b6304be97c1e7bb5064589f85bfb36 Mon Sep 17 00:00:00 2001
From: "Michael S. Molina" <70410625+michael-s-molina@users.noreply.github.com>
Date: Fri, 9 Sep 2022 17:59:12 -0300
Subject: [PATCH] test: Fixes act errors in ErrorBoundary test (#21412)
---
.../src/components/ErrorBoundary/ErrorBoundary.test.tsx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/superset-frontend/src/components/ErrorBoundary/ErrorBoundary.test.tsx b/superset-frontend/src/components/ErrorBoundary/ErrorBoundary.test.tsx
index 75ddc1c6fa..0ab1e44a80 100644
--- a/superset-frontend/src/components/ErrorBoundary/ErrorBoundary.test.tsx
+++ b/superset-frontend/src/components/ErrorBoundary/ErrorBoundary.test.tsx
@@ -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', () => () => );
+
const mockedProps = {
children: Error children,
onError: () => null,