Exercise Tracker project, json output identical to example json output but the unit testing still wont pass

Unit test that is not passing
You can make a GET request to /api/users/:_id/logs to retrieve a full exercise log of any user. The returned response will be the user object with a log array of all the exercises added. Each log item has the description , duration , and date properties.

Raw data output from example:
{"_id":"61028d5cffbf5305a8315195","username":"asdfdsaffa2","count":4,"log":[{"description":"sdfgadsf","duration":22,"date":"Thu Jul 29 2021"},{"description":"sdfgadsf","duration":22,"date":"Thu Jul 29 2021"},{"description":"sdfgadsf","duration":22,"date":"Thu Jul 29 2021"},{"description":"sdfgadsf","duration":22,"date":"Thu Jul 29 2021"}]}
Output from my version with same input
{"_id":"61028d7e32b80701faeed563","username":"asdfdsaffa2","count":4,"log":[{"description":"sdfgadsf","duration":22,"date":"Thu Jul 29 2021"},{"description":"sdfgadsf","duration":22,"date":"Thu Jul 29 2021"},{"description":"sdfgadsf","duration":22,"date":"Thu Jul 29 2021"},{"description":"sdfgadsf","duration":22,"date":"Thu Jul 29 2021"}]}

Thanks in advance

Your project link(s)

solution: https://replit.com/@jarrcoll/boilerplate-project-exercisetracker

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Challenge: Exercise Tracker

Link to the challenge:

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