diff --git a/src/components/EventStats/Statistics/Feedback.test.tsx b/src/components/EventStats/Statistics/Feedback.test.tsx index 0a8b5a571d..2e628eda8e 100644 --- a/src/components/EventStats/Statistics/Feedback.test.tsx +++ b/src/components/EventStats/Statistics/Feedback.test.tsx @@ -73,6 +73,10 @@ describe('Testing Feedback Statistics Card', () => { queryByText('3 people have filled feedback for this event.') ).toBeInTheDocument() ); + + await waitFor(() => { + expect(queryByText('Test')).toBeInTheDocument(); + }); }); test('The component should be rendered and message should be shown if no feedback is present', async () => { diff --git a/src/components/EventStats/Statistics/Feedback.tsx b/src/components/EventStats/Statistics/Feedback.tsx index ff4fe7a647..a4a9e41430 100644 --- a/src/components/EventStats/Statistics/Feedback.tsx +++ b/src/components/EventStats/Statistics/Feedback.tsx @@ -67,7 +67,8 @@ export const FeedbackStats = ({ data }: ModalPropType): JSX.Element => { series={[ { data: chartData, - arcLabel: (item) => `${item.id} (${item.value})`, + arcLabel: /* istanbul ignore next */ (item) => + `${item.id} (${item.value})`, innerRadius: 30, outerRadius: 120, paddingAngle: 2,