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?