From 6a2bd79d3c10bbbe45022dd4174cf7c5453f63af Mon Sep 17 00:00:00 2001 From: Marcos Date: Fri, 20 Oct 2023 10:14:50 -0300 Subject: [PATCH] chore: Fixed test issue --- src/course-home/courseware-search/CoursewareSearch.test.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/course-home/courseware-search/CoursewareSearch.test.jsx b/src/course-home/courseware-search/CoursewareSearch.test.jsx index 3e42be2f13..276ff1a194 100644 --- a/src/course-home/courseware-search/CoursewareSearch.test.jsx +++ b/src/course-home/courseware-search/CoursewareSearch.test.jsx @@ -37,6 +37,9 @@ describe('CoursewareSearch', () => { describe('when rendering normally', () => { beforeAll(() => { useElementBoundingBox.mockImplementation(() => ({ top: tabsTopPosition })); + }); + + beforeEach(() => { renderComponent(); });