Information Security Projects - Stock Price Checker

Tell us what’s happening:

All 5 functional tests are complete and passing locally but not in the main test environment.

###Your project link(s)

solution: http://localhost:3000

githubLink: GitHub - IncredibleStand/Stock-Price-Checker: Stock Price Checker (freeCodeCamp)

Your browser information:

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

Challenge Information:

Information Security Projects - Stock Price Checker

You should have a live URL for this local host wont work.

the localhost will work, please do not give misleading information

1 Like

Ok, but not on my end so I cant test it as is.

you would need to build it to test it, yes, but local development and using localhost is perfectly fine

2 Likes

Your code is passing for me. Did you remember to set NODE_ENV=test in your .env file?

Set the NODE_ENV environment variable to test, without quotes

1 Like

Just did.
It worked.
Note: localhost works fine.
Thank you all for the replies.