You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ly...@apache.org on 2022/12/06 03:38:16 UTC

[superset] branch lyndsi/fix-act-errors-FixedOrMetricControl created (now c9e85d45ef)

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

lyndsi pushed a change to branch lyndsi/fix-act-errors-FixedOrMetricControl
in repository https://gitbox.apache.org/repos/asf/superset.git


      at c9e85d45ef Removed 8 act errors

This branch includes the following new commits:

     new c9e85d45ef Removed 8 act errors

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: Removed 8 act errors

Posted by ly...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lyndsi pushed a commit to branch lyndsi/fix-act-errors-FixedOrMetricControl
in repository https://gitbox.apache.org/repos/asf/superset.git

commit c9e85d45ef9abcc235db2c1f6ae39cb959f83f86
Author: lyndsiWilliams <kc...@gmail.com>
AuthorDate: Mon Dec 5 21:37:42 2022 -0600

    Removed 8 act errors
---
 .../controls/FixedOrMetricControl/FixedOrMetricControl.test.tsx    | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/superset-frontend/src/explore/components/controls/FixedOrMetricControl/FixedOrMetricControl.test.tsx b/superset-frontend/src/explore/components/controls/FixedOrMetricControl/FixedOrMetricControl.test.tsx
index 6a2efd59ab..f44b5a932f 100644
--- a/superset-frontend/src/explore/components/controls/FixedOrMetricControl/FixedOrMetricControl.test.tsx
+++ b/superset-frontend/src/explore/components/controls/FixedOrMetricControl/FixedOrMetricControl.test.tsx
@@ -21,6 +21,13 @@ import { render, screen } from 'spec/helpers/testing-library';
 import userEvent from '@testing-library/user-event';
 import FixedOrMetricControl from '.';
 
+jest.mock(
+  'src/components/Icons/Icon',
+  () =>
+    ({ fileName }: { fileName: string }) =>
+      <span role="img" aria-label={fileName.replace('_', '-')} />,
+);
+
 const createProps = () => ({
   datasource: {
     columns: [{ column_name: 'Column A' }],