fix(deps): regenerate package-lock.json (#547)

* fix(deps): regenerate package-lock.json

Co-Authored-By: Claude Code <noreply@anthropic.com>

* fix(tests): update toast test for Paragon v23 changes

Paragon removed the redundant "alert" role from the toast container in
openedx/paragon#3434 (landed via openedx/paragon#3567). Updated test to
find the container using document.getElementById instead.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Code <noreply@anthropic.com>
This commit is contained in:
Brian Smith
2026-02-13 17:26:35 -05:00
committed by GitHub
parent 8f9c5f4247
commit f48db33355
2 changed files with 3342 additions and 1784 deletions

5119
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -40,8 +40,11 @@ describe('ImportSuccessToast', () => {
});
render(<ImportSuccessToast />);
const alert = screen.getByRole('alert');
expect(alert).toBeInTheDocument();
const toastRoot = document.getElementById('toast-root');
expect(toastRoot).toBeInTheDocument();
expect(toastRoot).toHaveClass('toast-container');
const toastMessage = screen.queryByText('Import Successful! Grades will be updated momentarily.');
expect(toastMessage).toBeNull();
expect(useImportSuccessToastData).toHaveBeenCalled();