I’m using https://narrow-plane.glitch.me/ to test my invalid URL portion of my code and I am returned with the following error
TypeError: Cannot read property 'toLowerCase' of undefined
I am also seeing a discrepancy with what the test is using for the GET method for the redirect for the 2 test cases. It wants to use
/api/shorturl/undefined/:short/ and not
Both of those tests throw an error as well even though when I hit the route on my own, it does do the redirect as it should.
Is this an issue with the test itself?