I am trying to set the test database for the testing purpose, but its not working.
I am trying to connect to mongodb using mongoose, but finding problem in connection er
my .env file was named .dotenv by mistake. after changing it to .env everything worked
.env
.dotenv