Skip to content

Commit

Permalink
chore: Fixed test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rijuma committed Oct 20, 2023
1 parent 9dc1a99 commit 6a2bd79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/course-home/courseware-search/CoursewareSearch.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ describe('CoursewareSearch', () => {
describe('when rendering normally', () => {
beforeAll(() => {
useElementBoundingBox.mockImplementation(() => ({ top: tabsTopPosition }));
});

beforeEach(() => {
renderComponent();
});

Expand Down

0 comments on commit 6a2bd79

Please sign in to comment.