You are viewing a single comment's thread. Return to all comments →
to bypass the date issue causing the tests to fail, I did the following:
const isTesting = typeof jest !== 'undefined'; const now = isTesting ? new Date('2025-01-01') // Use a fixed date when testing : new Date();
Seems like cookies are disabled on this browser, please enable them to open this website
Employee Validation
You are viewing a single comment's thread. Return to all comments →
to bypass the date issue causing the tests to fail, I did the following: