.env test not passing

Tell us what’s happening:
Describe your issue in detail here.
I completed the challenge as requested, the app works as expected, but the test fails.
Might have something to do with the implementation of the secrets on replit.

Your project link(s)

solution: https://replit.com/@jonathanrovner/boilerplate-express-1

Your browser information:

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

Challenge: Use the .env File

Link to the challenge:

Welcome there,

Technically, you are not following the instructions here:

Then, in the /json GET route handler you created in the last challenge, transform the response object’s message to uppercase if process.env.MESSAGE_STYLE equals uppercase .

You are doing this:

Then, outside the /json GET route handler you created in the last challenge, transform the response object’s message to uppercase if process.env.MESSAGE_STYLE equals uppercase .

Hope this helps

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