chore: migrate /sql_json and /results to apiv1 (#22809)

This commit is contained in:
Diego Medina
2023-01-30 13:02:34 -03:00
committed by GitHub
parent c9b7507931
commit b94052e438
38 changed files with 1460 additions and 880 deletions

View File

@@ -55,7 +55,7 @@ const MOCKED_SQL_EDITOR_HEIGHT = 500;
fetchMock.get('glob:*/api/v1/database/*', { result: [] });
fetchMock.get('glob:*/superset/tables/*', { options: [] });
fetchMock.post('glob:*/sql_json/*', { result: [] });
fetchMock.post('glob:*/sqllab/execute/*', { result: [] });
const middlewares = [thunk];
const mockStore = configureStore(middlewares);