Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
leleOFA committed Feb 28, 2025
1 parent 97ae522 commit 8e66a08
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,6 @@ describe('Filter Notifications Table Component', async () => {
oneYearAgo.setHours(0, 0, 0, 0);
// wrong since endDate is before startDate
await setFormValues(form, oneYearAgo, nineYearsAgo, 'ABCD-EFGH-ILMN-123456-A-1');
const errorText = form.querySelector('p[id="error-message-dateTo"]');
expect(errorText).toBeInTheDocument();
const submitButton = form.querySelector(`button[type="submit"]`);
fireEvent.click(submitButton!);
await waitFor(() => {
Expand Down

0 comments on commit 8e66a08

Please sign in to comment.