I can't find the solution for Exercise Tracker

Tell us what’s happening:
I’m stuck with Exercise Tracker Project and I can’t see how should I fix this.

My code seems met with the test descriptions. Can anyone have idea?

This is my status

Your project link(s)

solution: https://replit.com/

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Back End Development and APIs Projects - Exercise Tracker

Link to the challenge:

You seem to have two failed tests?

Yes.
I mean, exercise posting is working and my date property is string.
So my code seems to be doing what the test wants and I can’t have any idea to fix my code.

Hey @hbar1st someone seems to have the same problem, I don’t know if his code is ok. But it looks like it has done several checks and almost claims there is something wrong, if you can take a look at it too I will appreciate it.

There was a PR that had a typo which is now fixed. Until it hints production it will fail with TypeError: Date.now(...).substingr is not a function in the console.

1 Like

How did that one PR ever make it into the main branch or production? The tests should have caught this issue way before now.

1 Like

That, or eyeballs. But don’t ask me I’m not on the dev team. Not sure why tests didn’t catch it, or which tests should have caught it.

I assume one of the e2e tests should have caught it. I didn’t really check the logs.

My code passed today!
Thank you team!