This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch template_less
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/template_less by this push:
new 68ea9ac4d0 fix ErrorMessageWithStackTrace
68ea9ac4d0 is described below
commit 68ea9ac4d03318d4342210051ee83fb58fe0ff80
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Tue Mar 25 20:38:29 2025 -0700
fix ErrorMessageWithStackTrace
---
.../components/ErrorMessage/ErrorMessageWithStackTrace.test.tsx | 9 ---------
1 file changed, 9 deletions(-)
diff --git
a/superset-frontend/src/components/ErrorMessage/ErrorMessageWithStackTrace.test.tsx
b/superset-frontend/src/components/ErrorMessage/ErrorMessageWithStackTrace.test.tsx
index 3cb8b9294c..fb4ca8430b 100644
---
a/superset-frontend/src/components/ErrorMessage/ErrorMessageWithStackTrace.test.tsx
+++
b/superset-frontend/src/components/ErrorMessage/ErrorMessageWithStackTrace.test.tsx
@@ -22,15 +22,6 @@ import { render, screen, userEvent } from
'spec/helpers/testing-library';
import ErrorMessageWithStackTrace from './ErrorMessageWithStackTrace';
import BasicErrorAlert from './BasicErrorAlert';
-jest.mock('src/components/Icons', () => ({
- ErrorSolid: ({ iconColor }: { iconColor: string }) => (
- <span role="img" aria-label="error-solid" style={{ color: iconColor }} />
- ),
- WarningSolid: ({ iconColor }: { iconColor: string }) => (
- <span role="img" aria-label="warning-solid" style={{ color: iconColor }} />
- ),
-}));
-
const mockedProps = {
level: 'warning' as ErrorLevel,
link: 'https://sample.com',