mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: clean up prop type errors in jest tests (#11120)
This commit is contained in:
committed by
GitHub
parent
662fb43350
commit
d95b7c2a73
@@ -29,21 +29,27 @@ describe('HeaderActionsDropdown', () => {
|
||||
const props = {
|
||||
addSuccessToast: () => {},
|
||||
addDangerToast: () => {},
|
||||
dashboardId: 1,
|
||||
dashboardTitle: 'Title',
|
||||
hasUnsavedChanges: false,
|
||||
customCss: '',
|
||||
onChange: () => {},
|
||||
updateCss: () => {},
|
||||
forceRefreshAllCharts: () => {},
|
||||
startPeriodicRender: () => {},
|
||||
dashboardId: 1,
|
||||
dashboardInfo: {},
|
||||
dashboardTitle: 'Title',
|
||||
editMode: false,
|
||||
expandedSlices: {},
|
||||
filters: {},
|
||||
forceRefreshAllCharts: () => {},
|
||||
hasUnsavedChanges: false,
|
||||
isLoading: false,
|
||||
layout: {},
|
||||
onChange: () => {},
|
||||
onSave: () => {},
|
||||
refreshFrequency: 200,
|
||||
setRefreshFrequency: () => {},
|
||||
shouldPersistRefreshFrequency: true,
|
||||
showPropertiesModal: () => {},
|
||||
startPeriodicRender: () => {},
|
||||
updateCss: () => {},
|
||||
userCanEdit: false,
|
||||
userCanSave: false,
|
||||
layout: {},
|
||||
filters: {},
|
||||
expandedSlices: {},
|
||||
onSave: () => {},
|
||||
};
|
||||
|
||||
function setup(overrideProps) {
|
||||
|
||||
Reference in New Issue
Block a user