I am having issue with the Exercise Tracker test failing for the requirement below. I don’t see any reason it’s failing because the returned object when I add an exercise is the same as what the example App gives.
Does anyone know what I am doing wrong?
I can add an exercise to any user by posting form data userId(_id), description, duration, and optionally date to /api/exercise/add. If no date supplied it will use current date. App will return the user object with the exercise fields added.
My project link is:
I appreciate the help.