My project seems to work just fine and passes both unit and functional tests on my machine (localhost)
and also on replit when I don’t allow functional tests to happen…
Except when I add “module.exports = app”. Then it just crashes over and over again.
Blank!
I deleted my Replit project and re-imported it from my GitHub repo to see if that fixed the issue, and it’s just the same. As you can see I also increased the timeout in server.js.
My .env NODE_ENV secret is properly set to “test”. My dependencies are correctly installed. And this is my code: GitHub - davidsantana980/freedomConverter: A simple API to convert Imperial Units to Metric and vice versa
Any help/idea would be tremendously appreciated!