Skip to content

Commit 9883f0a

Browse files
committed
fix: Broken coverage
1 parent 5733aea commit 9883f0a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/course-outline/OutlineAddChildButtons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ const NewOutlineAddChildButtons = ({
135135
parentLocator: courseUsageKey,
136136
displayName: COURSE_BLOCK_NAMES.chapter.name,
137137
}, {
138+
// istanbul ignore next
138139
onSuccess: (data: { locator: string; }) => {
139-
// istanbul ignore next
140140
openContainerInfoSidebar(data.locator, undefined, data.locator);
141141
},
142142
});
@@ -154,8 +154,8 @@ const NewOutlineAddChildButtons = ({
154154
displayName: COURSE_BLOCK_NAMES.sequential.name,
155155
sectionId: parentLocator,
156156
}, {
157+
// istanbul ignore next
157158
onSuccess: (data: { locator: string; }) => {
158-
// istanbul ignore next
159159
openContainerInfoSidebar(data.locator, data.locator, parentLocator);
160160
},
161161
});

0 commit comments

Comments
 (0)