From 27c6e50989eae03a1666b699da17907f9ad5f00d Mon Sep 17 00:00:00 2001 From: vladislavkeblysh Date: Wed, 31 Jul 2024 16:40:18 +0300 Subject: [PATCH] feat: fixed assignment and course grade fields validations --- src/components/GradesView/StatusAlerts/index.test.jsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/GradesView/StatusAlerts/index.test.jsx b/src/components/GradesView/StatusAlerts/index.test.jsx index 89af62b3..952127f5 100644 --- a/src/components/GradesView/StatusAlerts/index.test.jsx +++ b/src/components/GradesView/StatusAlerts/index.test.jsx @@ -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();