Skip to content

Commit

Permalink
test: fix failing test and update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Feb 21, 2024
1 parent 5457c88 commit 961f538
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jest.mock('@dhis2/analytics', () => {
DIMENSION_ID_DATA: dataId,
DIMENSION_ID_PERIOD: periodId,
DIMENSION_ID_ORGUNIT: ouId,
dataTypeMap: {},
getAxisMaxNumberOfItems: () => {},
getDimensionMaxNumberOfItems: () => 1,
filterOutPredefinedDimensions: () => [],
getPredefinedDimensions: () => {},
getPredefinedDimensionProp: () => {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ exports[`The DialogManager component renders OUDimension content with display:no
/>
</div>
<DataDimension
enabledDataTypes={Array []}
onCalculationSave={[Function]}
onSelect={[Function]}
selectedDimensions={Array []}
Expand Down Expand Up @@ -126,6 +127,7 @@ exports[`The DialogManager component renders the DataDimension content in dialog
dataTest="dialog-manager-modal-content"
>
<DataDimension
enabledDataTypes={Array []}
onCalculationSave={[Function]}
onSelect={[Function]}
selectedDimensions={Array []}
Expand Down

0 comments on commit 961f538

Please sign in to comment.