Skip to content

Commit

Permalink
Fix DashboardModerationQueueListTable.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimKovalenkoSNF committed Dec 23, 2024
1 parent df582fc commit e5ebcc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e5ebcc4

Please sign in to comment.