Failed tests on Exercise Tracker challenge

I am having trouble when checking if the tests passes on the challenge page. I’m getting these tests as failed

  • A request to a user’s log GET /api/users/:_id/logs returns a user object with a count property representing the number of exercises that belong to that user.

  • Failed:A GET request to /api/users/:_id/logs will return the user object with a log array of all the exercises added.

  • Failed:Each item in the log array that is returned from GET /api/users/:_id/logs is an object that should have a description, duration, and date properties.

  • Failed:The description property of any object in the log array that is returned from GET /api/users/:_id/logs should be a string.

  • Failed:The duration property of any object in the log array that is returned from GET /api/users/:_id/logs should be a number.

  • Failed:The date property of any object in the log array that is returned from GET /api/users/:_id/logs should be a string. Use the dateString format of the Date API.

Even after checking manually if the app works right. I’ll drop the link of the Replit project so you can check it out.

Thank you

solution: project-exercisetracker - Node.js Repl - Replit

Link to the challenge:

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