Issue-Tracker functional tests passing locally, but not on freecodecamp

Tell us what’s happening:
Describe your issue in detail here.

All 14 functional tests pass in the project, they also pass on freecodecamp on localhost, but not on heroku. I receive this error message:

frame-runner.48dde41424ad6574c48c.js:2 Error: Test in Passed State: expected 'failed' to equal 'passed'
    at eval (eval at <anonymous> (frame-runner.48dde41424ad6574c48c.js:2), <anonymous>:15:11)

I have no idea what and where to fix.

Your project link(s)

githubLink: GitHub - danmikes/is-track: A boilerplate for a freeCodeCamp project.

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Safari/537.36

Challenge: Issue Tracker

Link to the challenge:

You can try to deploy your code into just to check if it’s a problem with heroku itself

Thank you for the suggestion. I rewrote the test code and then it passed. But I still don’t understand why heroku failed on it and localhost did not.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.