My test ‘get-comments’ did not pass only because the name of the field (that collected the comments for the movie in the $lookup) was wrong! I had the name like
as:"movie_comments"
instead of as: "comments"
My test ‘get-comments’ did not pass only because the name of the field (that collected the comments for the movie in the $lookup) was wrong! I had the name like
as:"movie_comments"
instead of as: "comments"
All tests passed, but I got:
“Jest did not exit one second after the test run has completed.”
How do I solve this problem?
Hi @Cong_09328,
Please take a look at the below thread and let me know if that fixes your issue:
Kanika
as:"movie_comments"
instead of as: "comments"
I solved my problem, thank you very much!
Haha, thanks I did the same thing just now. I was wondering what I did wrong, because it worked in compass.