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
I think you miss importing env file.
env
require('dotenv').config({ path: 'ENV_FILENAME' });