So, I think I’m done but I’m not passing my tests for some reason? Despite doing the tests manually and getting the correct responses, I simply don’t pass them… Does anyone have any idea what I could do to pass them?
Is the code on GitHub and Gitpod in sync. I can only test the GitHub code, and it passes that test for me (not a date test), but correctly fails test #7.
The logic you have for the empty params seems convoluted. All three values are falsy values so you really do not need to check them separately. Also, setting dateParam to an empty string probably isn’t the right choice, seeing as that isn’t what an empty params will be. It could cause issues in a larger code base if you use unexpected values. If you really did want to use a fixed false value for it, I would use null and not an empty string.