Ad
  • Custom User Avatar

    Hi LogaJ, you shouldn't make any assumptions, because kata description clearly states: "Date parameter could be a string or a Date object."

  • Custom User Avatar

    It looks like your code is minipulating the original instances and changing their values around, which was causing the specs to act weird. I've updated the kata to include an initial test case example, so that you can see how the tests are setup.

  • Custom User Avatar

    This is strange. The tests seem to be OK but that error message definitely is not correct. Would you mind adding your solution here and marking it as a spoiler?