Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: fix test falls
  • Loading branch information
filippovskii09 committed Dec 1, 2025
commit 8106ccb432d00646630cd09a344dad2925b67bc5
4 changes: 4 additions & 0 deletions src/courseware/course/Course.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ describe('Course', () => {
global.innerWidth = breakpoints.extraLarge.minWidth;
});

beforeEach(() => {
sessionStorage.clear();
});

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just clarifying. Do we really need this here?

// This was passing when it shouldn't have been because of improper
// waitFor use. With the React 18 upgrade it no longer improperly passes
// so we are skipping it. See https://github.com/openedx/frontend-app-learning/issues/1669
Expand Down