chore(sqllab): Typescript for SqlEditor component (#25228)

This commit is contained in:
JUST.in DO IT
2023-10-05 12:33:01 -04:00
committed by GitHub
parent c81c60c91f
commit 34f99708d4
15 changed files with 216 additions and 158 deletions

View File

@@ -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,