mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
fix(sqllab): Replace autocomplete logic by a hook (#24677)
This commit is contained in:
@@ -47,6 +47,9 @@ jest.mock('src/components/AsyncAceEditor', () => ({
|
||||
}));
|
||||
jest.mock('src/SqlLab/components/SqlEditorLeftBar', () => jest.fn());
|
||||
|
||||
fetchMock.get('glob:*/api/v1/database/*/function_names/', {
|
||||
function_names: [],
|
||||
});
|
||||
fetchMock.get('glob:*/api/v1/database/*', { result: [] });
|
||||
fetchMock.get('glob:*/api/v1/database/*/tables/*', { options: [] });
|
||||
fetchMock.post('glob:*/sqllab/execute/*', { result: [] });
|
||||
|
||||
Reference in New Issue
Block a user