mirror of
https://github.com/apache/superset.git
synced 2026-04-27 20:14:54 +00:00
chore(sqllab): Remove schemaOptions from redux store (#23257)
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user