mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
refactor: icon to icons for Querytable, datasource test, and copyclipboard story (#15665)
* initial commit * fix theme * Update superset-frontend/src/SqlLab/components/QueryTable/index.jsx Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ad87ba3724
commit
1483e04381
@@ -26,7 +26,6 @@ import { render, screen } from 'spec/helpers/testing-library';
|
||||
|
||||
import { Radio } from 'src/components/Radio';
|
||||
|
||||
import Icon from 'src/components/Icon';
|
||||
import Icons from 'src/components/Icons';
|
||||
import Tabs from 'src/components/Tabs';
|
||||
import DatasourceEditor from 'src/datasource/DatasourceEditor';
|
||||
@@ -211,7 +210,7 @@ describe('DatasourceEditor', () => {
|
||||
expect(sourceTab.find(Radio).length).toBe(2);
|
||||
expect(sourceTab.find(Radio).first().prop('disabled')).toBe(true);
|
||||
|
||||
const icon = sourceTab.find(Icon);
|
||||
const icon = sourceTab.find(Icons.LockLocked);
|
||||
expect(icon).toHaveLength(0);
|
||||
|
||||
isFeatureEnabledMock.mockRestore();
|
||||
|
||||
Reference in New Issue
Block a user