mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix: clear modal state after adding dataset (#17044)
* fix: clear modal state after adding dataset * Fix test * Small fixes
This commit is contained in:
@@ -26,7 +26,12 @@ import TableSelector from '.';
|
||||
const SupersetClientGet = jest.spyOn(SupersetClient, 'get');
|
||||
|
||||
const createProps = () => ({
|
||||
dbId: 1,
|
||||
database: {
|
||||
id: 1,
|
||||
database_name: 'main',
|
||||
backend: 'sqlite',
|
||||
allow_multi_schema_metadata_fetch: false,
|
||||
},
|
||||
schema: 'test_schema',
|
||||
handleError: jest.fn(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user