A test always fails

A test always fails
Hi all. I finished the project locally on my machine but there is a test which fails however I tested the results of the example project made by freecodecamp.org and that gives the same results as my project. so far I don’t understand why. it is the third test.

https://www.freecodecamp.org/learn/back-end-development-and-apis/back-end-development-and-apis-projects/timestamp-microservice

solution: https://replit.com/@judaristfullsta/timestamp-api
githubLink: GitHub - judaristFullstack/Timestamp-Api: Build a full stack JavaScript app that is functionally similar to this: https://timestamp-microservice.freecodecamp.rocks/

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0

Challenge: Timestamp Microservice

Link to the challenge:

Looks like your get function isn’t returning the correct thing. When I replace that with just someUrlObject.toUTCString() (with a *correctly constructed URL object) I pass all the tests.

*Correctly constructed, as in, one of the constructors takes a number, one takes nothing, and one takes a string.

Thanks for your reply. i figured that out.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.