Hi, I’m still having trouble with this problem and I realize it seems to be a hidden bug. I tried upgrading to the new Node version and it didn’t solve anything. My friend and I also wrote it on other tools but it seems to be a bug?
My project: Glitch :・゚✧
- Set
NODE_ENV
to test without quotes when ready to write tests and DB to your databases connection string (in.env
)
Did you add the NODE_ENV=test
environment variable?