hi!
every step is correct except for step 3, i have tried different repositories, tried gtp, tested many solutions but nothing seems to work. can anyone tell me what im doing wrong?
that’s impossible, if the test is failing it will output the error in the console
in which page are you looking at the console? there isn’t a terminal in the challenge page
when i run the tests on the fcc challenge page, the only red error i see is from the runner itself: dom-test-evaluator.js:2 Error: redirected is not implemented yet
redirect works correctly — curl -I http://localhost:3000/api/shorturl/3 returns HTTP/1.1 302 Found with Location: ``https://freecodecamp.org.
to make sure persistence wasn’t the issue, i also switched the implementation to use MongoDB (so the data survives restarts and different test runs), but test 3 still fails the same way on the challenge page
when running the tests, the only error shown in the browser console is: dom-test-evaluator.js: Error: redirected is not implemented yet
it looks like the evaluator crashes while trying to access fetch’s response.redirected property, before it can actually assert the redirect behavior