3rd test does not pass for Challenge : Install and Set Up Mongoose)

Tell us what’s happening: I have done everything according to solution, but 3rd test doesnt get pass and error ““mongoose” should be connected to a database” will arise.

const mongoose = require('mongoose');
mongoose.connect(process.env.MONGO_URI,{useNewUrlParser:true, useUnifiedTopology:true});
MONGO_URI='mongodb+srv://<username>:shafigh2021@<clustername>-vlas9.mongodb.net/test?retryWrites=true'
{
    "name": "fcc-mongo-mongoose-challenges",
    "version": "0.0.1",
    "description": "A boilerplate project",
    "main": "server.js",
    "scripts": {
        "start": "node server.js"
    },
    "dependencies": {
        "body-parser": "^1.15.2",
        "dotenv": "^8.2.0",
        "express": "^4.12.4",
        "mongodb": "^3.0.0",
        "mongoose": "^5.6.5"
    },
    "engines": {
    "node": "4.4.5"
    },
    "repository": {
        "type": "git",
         "url": "https://github.com/freeCodeCamp/boilerplate-mongomongoose.git"
    },
    "keywords": [
        "node",
        "mongoose",
        "express"
    ],
    "license": "MIT"
}

Your project link(s)

solution: https://boilerplate-mongomongoose.shafigh.repl.co

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36.

Challenge: Install and Set Up Mongoose

Link to the challenge:

I can’t log in can you share with the join link please.

But let me ask anyway, do you have a .env file?