Skip to content

Commit

Permalink
feat: fixed assignment and course grade fields validations
Browse files Browse the repository at this point in the history
  • Loading branch information
vladislavkeblysh committed Jul 31, 2024
1 parent 0d46f0e commit 964569a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/GradesView/StatusAlerts/index.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ describe('StatusAlerts component', () => {
test('grade filter banner', () => {
const alert = el.instance.findByType(Alert)[1];
const { props } = alert;
expect(props.show).toEqual(hookProps.gradeFilter.show);
expect(alert.children[0].el).toEqual(hookProps.gradeFilter.text);
expect(props.show)
.toEqual(hookProps.gradeFilter.show);
expect(alert.children[0].el)
.toEqual(hookProps.gradeFilter.text);
});
test('course and assignment filter banner', () => {
const alert = el.find(Alert).at(1);
const props = alert.props();
Expand Down

0 comments on commit 964569a

Please sign in to comment.