Error on model.findOne() to return a Single Matching Document from Your Database

Hello everyone

const findOneByFood = (food, done) => {
  Person.findOne({favoriteFoods: food}, (err, data) => {
    if (err) {
      return done(err);
    done(null, data);

This is my code for this problem but when I paste the link of my project into freeCodeCamp then I got this error:

// running tests
Find one item should succeed
// tests completed

I tried all the way I can, even paste the code in the Get Hint but it still shows the same error. Even more I tried to log something in this function but I can’t see anything in the console log. This is what the console looks like:

Your app is listening on port 3000
[object Object]

This is the link to my project if need be.
Can you help me find out what is the problem with my code?
Thanks in advance!