Compare commits
7 Commits
dependabot
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee3e4733ff | ||
|
|
c442df7c6d | ||
|
|
b7f387c45e | ||
|
|
966d7dc849 | ||
|
|
606d5ce631 | ||
|
|
f48db33355 | ||
|
|
8f9c5f4247 |
5122
package-lock.json
generated
5122
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -40,8 +40,11 @@ describe('ImportSuccessToast', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
render(<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.');
|
const toastMessage = screen.queryByText('Import Successful! Grades will be updated momentarily.');
|
||||||
expect(toastMessage).toBeNull();
|
expect(toastMessage).toBeNull();
|
||||||
expect(useImportSuccessToastData).toHaveBeenCalled();
|
expect(useImportSuccessToastData).toHaveBeenCalled();
|
||||||
|
|||||||
Reference in New Issue
Block a user