Skip to content

Commit

Permalink
fix: Fix test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChV committed May 16, 2024
1 parent 449251b commit b7e98a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/course-outline/CourseOutline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ const CourseOutline = ({ courseId }) => {
{toastMessage && (
<Toast
show
onClose={() => setToastMessage(null)}
onClose={/* istanbul ignore next */ () => setToastMessage(null)}
data-testid="taxonomy-toast"
>
{toastMessage}
Expand Down
1 change: 1 addition & 0 deletions src/course-outline/data/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ export async function getTagsExportFile(courseId, courseName) {
responseType: 'blob',
});

/* istanbul ignore next */
if (response.status !== 200) {
throw response.statusText;
}
Expand Down

0 comments on commit b7e98a0

Please sign in to comment.