Employee Validation

Sort by

recency

|

68 Discussions

|

  • + 0 comments

    Test code for future date is hardcoded to 2025-04-12 it should use Date.now() to have a correct validation.

  • + 0 comments

    Effective employee validation also strengthens organizational integrity, promotes accountability, and supports better decision-making during hiring and internal promotions. Cricket 99 bet

  • + 0 comments

    If your reading this, your code prolly works and the tests are still broken 🥀

  • + 0 comments

    Tests are invalid as they use an old date and isn't a true comparison against today = new Date()

  • + 0 comments

    Use this to pass failed tests because of wrong date

    !(formState.joiningDate && new Date(formState.joiningDate).getFullYear() < new Date(currentDate).getFullYear());