Skip to content

Commit

Permalink
fix: cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simonadomnisoru committed Feb 23, 2024
1 parent 1a5e084 commit a707624
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ export const EditEventWorkspace: WidgetConfig = {
onSaveAndCompleteEnrollment,
onSaveAndCompleteEnrollmentErrorActionType,
onSaveAndCompleteEnrollmentSuccessActionType,
classes,
}): WidgetEventEditProps => ({
programStage,
onGoBack,
Expand All @@ -226,7 +225,6 @@ export const EditEventWorkspace: WidgetConfig = {
onSaveAndCompleteEnrollment,
onSaveAndCompleteEnrollmentErrorActionType,
onSaveAndCompleteEnrollmentSuccessActionType,
classes,
}),
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const NotEnoughAttributesMessage = ({
escape: ':',
searchableAttributes: searchableFieldsDisplayname,
interpolation: {
escape: false,
escapeValue: false,
},
});
}
Expand All @@ -27,7 +27,7 @@ export const NotEnoughAttributesMessage = ({
minAttributesRequiredToSearch,
searchableAttributes: searchableFieldsDisplayname,
interpolation: {
escape: false,
escapeValue: false,
},
},
);
Expand All @@ -36,7 +36,7 @@ export const NotEnoughAttributesMessage = ({
escape: ':',
searchableAttributes: searchableFieldsDisplayname,
interpolation: {
escape: false,
escapeValue: false,
},
});
};
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export type Props = {|
onSaveAndCompleteEnrollment: (enrollment: ApiEnrollment) => void,
onSaveAndCompleteEnrollmentSuccessActionType?: string,
onSaveAndCompleteEnrollmentErrorActionType?: string,
...CssClasses,
|};

export type PlainProps = {|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const InfoBoxPlain = ({
defaultValue: 'There are {{count}} scheduled event in {{orgUnitName}} on this day.',
defaultValue_plural: 'There are {{count}} scheduled events in {{orgUnitName}} on this day.',
interpolation: {
escape: false,
escapeValue: false,
},
})}</>}
</NoticeBox>
Expand Down

0 comments on commit a707624

Please sign in to comment.