Basic Node and Express - add .env file

I can’t pass the tests for some reason. I have completed the task and the message does change to uppercase depending on the env variable on my machine - as well as on the server that I hosted it on. I can’t get why the tests aren’t passing. I have made around 6 commits trying to refactor the code in a way that the tests would like, but all in vain. All 6 options were actually working.

Here is the latest code:

require('dotenv').config();
let express = require('express');
let app = express();

app.get('/', (req, res) => {
    const indexPath = __dirname + '/views/index.html';
    res.sendFile(indexPath);
});

app.use('/public', express.static(__dirname + '/public'));

app.get('/json', (req, res) => {
    const secret = process.env.MESSAGE_STYLE;
    if ( secret === 'uppercase') {
        res.json({"message": "HELLO JSON"});
    } else {
        res.json({"message": "Hello json"});
    }
});