Skip to content

Commit

Permalink
test: fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
steff456 committed Dec 8, 2023
1 parent df0b384 commit 934c59f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/course-outline/section-card/SectionCard.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const renderComponent = (props) => render(
<IntlProvider locale="en">
<SectionCard
section={section}
index={0}
onOpenPublishModal={jest.fn()}
onOpenHighlightsModal={jest.fn()}
onOpenDeleteModal={jest.fn()}
Expand All @@ -38,6 +39,8 @@ const renderComponent = (props) => render(
onEditSectionSubmit={jest.fn()}
onDuplicateSubmit={jest.fn()}
isSectionsExpanded
moveSection={jest.fn()}
finalizeSectionOrder={jest.fn()}
{...props}
>
<span>children</span>
Expand Down

0 comments on commit 934c59f

Please sign in to comment.