Quality Assurance Projects - Issue Tracker

Tell us what’s happening:

why could it happen?

// running tests
9. When the PUT request sent to /api/issues/{projectname} does not include update fields, the return value is { error: ‘no update field(s) sent’, ‘_id’: _id }. On any other error, the return value is { error: ‘could not update’, ‘_id’: _id }.
// tests completed
// console output
[Error: expected { error: ‘could not update’, …(1) } to deeply equal { …(2) }]

###Your project link(s)

solution: https://3000-freecodecam-boilerplate-hutpenwrcwo.ws-us117.gitpod.io

githubLink: GitHub - mingrijinshi2021/Issue-Tracker

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36

Challenge Information:

Quality Assurance Projects - Issue Tracker

I am also confused by this message. Why doesn’t it more clearly indicate what the expected value is and what the incorrect value I provided is, instead of replacing them with …[1] and …[2]?