chore(sqllab): Remove schemaOptions from redux store (#23257)

This commit is contained in:
JUST.in DO IT
2023-03-22 14:35:22 -07:00
committed by GitHub
parent b1526c14e0
commit ca4dd26648
13 changed files with 24 additions and 69 deletions

View File

@@ -30,12 +30,7 @@ const mockStore = configureStore(middlewares);
test('returns selected queryEditor values', () => {
const { result } = renderHook(
() =>
useQueryEditor(defaultQueryEditor.id, [
'id',
'name',
'dbId',
'schemaOptions',
]),
useQueryEditor(defaultQueryEditor.id, ['id', 'name', 'dbId', 'schema']),
{
wrapper: createWrapper({
useRedux: true,
@@ -47,7 +42,7 @@ test('returns selected queryEditor values', () => {
id: defaultQueryEditor.id,
name: defaultQueryEditor.name,
dbId: defaultQueryEditor.dbId,
schemaOptions: defaultQueryEditor.schemaOptions,
schema: defaultQueryEditor.schema,
});
});