You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2022/09/09 20:59:35 UTC

[superset] branch master updated: test: Fixes act errors in ErrorBoundary test (#21412)

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 a5e1811ee4 test: Fixes act errors in ErrorBoundary test (#21412)
a5e1811ee4 is described below

commit a5e1811ee4b6304be97c1e7bb5064589f85bfb36
Author: Michael S. Molina <70...@users.noreply.github.com>
AuthorDate: Fri Sep 9 17:59:12 2022 -0300

    test: Fixes act errors in ErrorBoundary test (#21412)
---
 superset-frontend/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', () => () => <span />);
+
 const mockedProps = {
   children: <span>Error children</span>,
   onError: () => null,