Hi there, I am trying to complete the issue tracker project but I cannot pass the functional testing section. I pass the first three tests but others are failing. Problems are listed below:
Problems:
-
Some of test logs are saying “unexpected undefined to equal to my expected results”. But when I test in apps. The results can show up as expected. So I can’t understand why this is happening…
-
TypeError on res.body.forEach is not a function
Is it because the res.body is an object so I cannot use the forEach method? Should I use the
Object.keys method to turn them into array so that I could use for each in the functional test? -
‘expected 404 to equal 200’
You can try run my project to see the error logs…
Here is the link to my project:
https://repl.it/join/wykjxcfd-snowiewdev
Thank you for viewing or any attempts in solving the problems :’(