Seems like all working right, but failing test#4, adding an exercise. Saw others had issues in the past, one said setting id to _id fixes it but not for me.
const expected = {
username: 'fcc_test_1596648410971', // Obviously the numbers change
description: 'test',
duration: 60,
_id: 5f29cd9e782d5f13d127b456, // Must be of type 'ObjectId'
date: 'Mon Jan 01 1990'
}
I add an exercise I get: {"username":"mboucher012","description":"test","duration":44,"_id":"5f3f1f1a5b70ca04bb5708a6","date":"2020-08-21T01:18:49.056Z"}
My duration was a string, so changed it to a number using Number(duration)
It looks like the same output as from the FCC example, except the date format is different. Would that cause it to fail?