mirror of
https://github.com/apache/superset.git
synced 2026-06-01 05:39:17 +00:00
chore(sqllab): Typescript for SqlEditor component (#25228)
This commit is contained in:
@@ -302,6 +302,7 @@ fetchMock.post(VALIDATE_PARAMS_ENDPOINT, {
|
||||
});
|
||||
|
||||
const databaseFixture: DatabaseObject = {
|
||||
id: 123,
|
||||
backend: 'postgres',
|
||||
configuration_method: CONFIGURATION_METHOD.DYNAMIC_FORM,
|
||||
database_name: 'Postgres',
|
||||
@@ -2012,6 +2013,7 @@ describe('dbReducer', () => {
|
||||
const currentState = dbReducer({}, action);
|
||||
|
||||
expect(currentState).toEqual({
|
||||
id: db.id,
|
||||
database_name: db.database_name,
|
||||
engine: backend,
|
||||
configuration_method: db.configuration_method,
|
||||
|
||||
Reference in New Issue
Block a user