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.
The response returned from POST /api/users/:_id/exercises will be the user object with the exercise fields added.
It failed for me until I’ve changed the order of keys as in expectedobject from test
I’m not sure what kind of assert.deepEqual is used there, but maybe it is the root cause