Employee Validation

  • + 0 comments

    I believe some of the unit tests are incorrect, or the task description is not clear enough.

    The task says “The user types...”, so validation is expected to run on typing (i.e. using onChange). However, the test changes values without triggering onChange, which causes the test to fail even when the code behaves as described.