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)
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.96.36.199 Safari/537.36
Challenge: Back End Development and APIs Projects - Exercise Tracker
Link to the challenge:
You seem to have two failed tests?
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.
@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.
Cuéntanos qué está pasando:
Describe tu problema en detalle aquí.
Creo que deben corregir el TEST:
“Puedes hacer una petición POST a /api/users/:_id/exercises con datos de formulario, description, duration, y opcionalmente date. Si no se proporciona ninguna fecha, se utilizará la fecha actual.”
Yo hice la prueba y si funciona mi POST pero ese test no me lo pasa, todos los demas si estan OK. Incluso hice la prueba con el link de ustedes y tampoco pasa el test ese.
Enlace(s) de tu proyecto
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.
10:24AM - 07 Oct 22 UTC
- [x ] I have read [freeCodeCamp's contribution guidelines](ht
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!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.