Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomedina248 committed Apr 21, 2022
1 parent d582d08 commit 083ec4b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ describe('getFormDataWithExtraFilters', () => {
chartUpdateStartTime: 1,
lastRendered: 1,
latestQueryFormData: {},
latestQueryCacheInvalidated: false,
sliceFormData: null,
queryController: null,
queriesResponse: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const createProps = () => ({
},
chartStatus: 'rendered',
onCollapseChange: jest.fn(),
chartUpdateCacheInvalidationStatus: jest.fn(),
latestQueryCacheInvalidated: false,
queriesResponse: [
{
colnames: [],
Expand Down
1 change: 1 addition & 0 deletions superset-frontend/src/explore/reducers/getInitialState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default function getInitialState(
chartUpdateEndTime: null,
chartUpdateStartTime: 0,
latestQueryFormData: getFormDataFromControls(exploreState.controls),
latestQueryCacheInvalidated: false,
sliceFormData,
queryController: null,
queriesResponse: null,
Expand Down

0 comments on commit 083ec4b

Please sign in to comment.