mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[superset-client][datasource editor] replace ajax with SupersetClient (#6134)
* [superset-client][datasource editor] replace ajax with SupersetClient * [superset-client][datasource control] replace ajax with SupersetClient * [superset-client][datasource editor] remove unused funcs in DatasourceControl * [superset-client][data source control] lint, remove toasts * [superset-client] fix DatasourceControl_spec * [superset-client] remove unneeded functional setState calls
This commit is contained in:
@@ -28,7 +28,7 @@ describe('DatasourceControl', () => {
|
||||
function setup() {
|
||||
const mockStore = configureStore([]);
|
||||
const store = mockStore({});
|
||||
return shallow(<DatasourceControl {...defaultProps} />, { context: { store } }).dive();
|
||||
return shallow(<DatasourceControl {...defaultProps} />, { context: { store } });
|
||||
}
|
||||
|
||||
it('renders a Modal', () => {
|
||||
|
||||
Reference in New Issue
Block a user