Tell us what’s happening:
I currently have the following tests failing for the exercise tracker project:
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.
I can retrieve part of the log of any user by also passing along optional parameters of from & to or limit. (Date format yyyy-mm-dd, limit = int)
I checked the behaviour and cross referenced with the example app from the challenge and everything looks as it should do. I went through the issues in the boilerplate repo for this challenge and haven’t found anything that could potentially be a problem. Any advise would be greatly appreciated!
Your code so far
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.
Challenge: Exercise Tracker
Link to the challenge: