Tests not passing but code works

Tell us what’s happening:
I’ve got this all set up and the actual glitch app connects fine to my database (I can console log the ‘isConnected’ property and it returns a connected status code) however none of the tests pass on freeCodeCamp. There are no errors on glitch.

I do however get ‘failed to load resource errors’ in the browser console for trying to connect to my glitch app (this happens on both Chrome and Safari)

Your code so far
Dependencies:
{
“name”: “fcc-learn-node-with-express”,
“version”: “0.1.0”,
“dependencies”: {
“express”: “^4.17.1”,
“body-parser”: “^1.19.0”,
“cookie-parser”: “^1.4.5”,
“fcc-express-bground”: “https://github.com/Em-Ant/fcc-express-bground-pkg.git”,
“mongoose”: “^5.1.6”,
“mongodb”: “^3.0.10”
},
“main”: “server.js”,
“scripts”: {
“start”: “node server.js”
},
“engines”: {
“node”: “4.4.5”
}
}

My connection code
const mongoose = require(‘mongoose’)

//connect mongoose
mongoose.connect(process.env.MONGO_URI, { useNewUrlParser: true,useUnifiedTopology: true })

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15.

Challenge: Install and Set Up Mongoose

Link to the challenge: