From e5ebcc4fe9e95f86839ae81ce9ed530a21102b34 Mon Sep 17 00:00:00 2001 From: VadimKovalenko Date: Mon, 23 Dec 2024 17:01:28 +0400 Subject: [PATCH] Fix DashboardModerationQueueListTable.test.js --- .../components/DashboardModerationQueueListTable.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/react/src/__tests__/components/DashboardModerationQueueListTable.test.js b/src/react/src/__tests__/components/DashboardModerationQueueListTable.test.js index db19832ed..ed61151d9 100644 --- a/src/react/src/__tests__/components/DashboardModerationQueueListTable.test.js +++ b/src/react/src/__tests__/components/DashboardModerationQueueListTable.test.js @@ -502,7 +502,7 @@ describe('DashboardModerationQueueListTable component', () => { }); test('renders event data in rows', () => { - const { getByText } = renderComponent({ events: sampleModerationEvents, count: 2 }); + const { getByText } = renderComponent({ moderationEventsList: sampleModerationEvents, count: 2 }); sampleModerationEvents.forEach(event => { expect(getByText(event.cleaned_data.name)).toBeInTheDocument();