Skip to content

Commit

Permalink
Fix: Make dates dynamic for Vitest compatibility with DatePicker
Browse files Browse the repository at this point in the history
  • Loading branch information
abbi4code committed Dec 17, 2024

Verified

This commit was signed with the committer’s verified signature.
mathomp4 Matt Thompson
1 parent b85a120 commit c246c41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screens/UserPortal/Events/Events.spec.tsx
Original file line number Diff line number Diff line change
@@ -448,8 +448,8 @@ describe('Testing Events Screen [User Portal]', () => {

userEvent.click(screen.getByTestId('createEventModalBtn'));
// MM/DD/YYYY
const startDate = '12/15/2024';
const endDate = '12/15/2024';
const startDate = new Date();
const endDate = new Date();
const startTime = '08:00 AM';
const endTime = '10:00 AM';

0 comments on commit c246c41

Please sign in to comment.