refactor: Deletes the common/components folder (#18999)

This commit is contained in:
Michael S. Molina
2022-03-04 14:19:14 -03:00
committed by GitHub
parent 9f834e8317
commit 329855170e
95 changed files with 260 additions and 281 deletions

View File

@@ -32,7 +32,7 @@ import AceEditorWrapper from 'src/SqlLab/components/AceEditorWrapper';
import ConnectedSouthPane from 'src/SqlLab/components/SouthPane/state';
import SqlEditor from 'src/SqlLab/components/SqlEditor';
import SqlEditorLeftBar from 'src/SqlLab/components/SqlEditorLeftBar';
import { Dropdown } from 'src/common/components';
import { AntdDropdown } from 'src/components';
import {
queryEditorSetFunctionNames,
queryEditorSetSelectedText,
@@ -126,6 +126,6 @@ describe('SqlEditor', () => {
const updatedProps = { ...mockedProps, defaultQueryLimit };
const wrapper = buildWrapper(updatedProps);
await waitForComponentToPaint(wrapper);
expect(wrapper.find(Dropdown)).toExist();
expect(wrapper.find(AntdDropdown)).toExist();
});
});