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

@@ -84,9 +84,9 @@ describe('reduxStateToLocalStorageHelper', () => {
it('should only return selected keys for query editor', () => {
const queryEditors = [defaultQueryEditor];
expect(Object.keys(queryEditors[0])).toContain('schemaOptions');
expect(Object.keys(queryEditors[0])).toContain('schema');
const clearedQueryEditors = clearQueryEditors(queryEditors);
expect(Object.keys(clearedQueryEditors)[0]).not.toContain('schemaOptions');
expect(Object.keys(clearedQueryEditors)[0]).not.toContain('schema');
});
});