Compare commits
1 Commits
master
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d8e123bf8 |
5060
package-lock.json
generated
5060
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -40,11 +40,8 @@ describe('ImportSuccessToast', () => {
|
||||
});
|
||||
|
||||
render(<ImportSuccessToast />);
|
||||
|
||||
const toastRoot = document.getElementById('toast-root');
|
||||
expect(toastRoot).toBeInTheDocument();
|
||||
expect(toastRoot).toHaveClass('toast-container');
|
||||
|
||||
const alert = screen.getByRole('alert');
|
||||
expect(alert).toBeInTheDocument();
|
||||
const toastMessage = screen.queryByText('Import Successful! Grades will be updated momentarily.');
|
||||
expect(toastMessage).toBeNull();
|
||||
expect(useImportSuccessToastData).toHaveBeenCalled();
|
||||
|
||||
Reference in New Issue
Block a user