mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
refactor(Icons): Add typing support and improve structure (#32880)
This commit is contained in:
@@ -20,7 +20,7 @@ import { render, screen, userEvent } from 'spec/helpers/testing-library';
|
||||
import FixedOrMetricControl from '.';
|
||||
|
||||
jest.mock(
|
||||
'src/components/Icons/Icon',
|
||||
'src/components/Icons/AsyncIcon',
|
||||
() =>
|
||||
({ fileName }: { fileName: string }) => (
|
||||
<span role="img" aria-label={fileName.replace('_', '-')} />
|
||||
|
||||
Reference in New Issue
Block a user