Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Oct 2, 2024
1 parent fe44d65 commit 20775a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/course-outline/CourseOutline.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ describe('<CourseOutline />', () => {

const alertElements = queryAllByRole('alert');
expect(alertElements.find(
(el) => el.classList.contains('alert-content')
(el) => el.classList.contains('alert-content'),
)).toHaveTextContent(
pageAlertMessages.alertFailedGeneric.defaultMessage,
);
Expand Down
4 changes: 2 additions & 2 deletions src/course-unit/CourseUnit.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ describe('<CourseUnit />', () => {

await waitFor(() => {
const unpublishedAlert = getAllByRole('alert').find(
(el) => el.classList.contains('alert-content')
(el) => el.classList.contains('alert-content'),
);
expect(unpublishedAlert).toHaveTextContent(messages.alertUnpublishedVersion.defaultMessage);
expect(unpublishedAlert).toHaveClass('alert-warning');
Expand All @@ -550,7 +550,7 @@ describe('<CourseUnit />', () => {

await waitFor(() => {
const alert = queryAllByRole('alert').find(
(el) => el.classList.contains('alert-content')
(el) => el.classList.contains('alert-content'),
);
expect(alert).toBeUndefined();
});
Expand Down

0 comments on commit 20775a9

Please sign in to comment.