Ticket: connection issue

Hey guys, nice to meet you all.
I just started the course and I hope to move with speed with ur help.

I have a bit of an issue understanding how to overcome this ticket.
I have done all the necessary requirements and now I am trying to run the test for the db connection with the following commands:
npm test -t db-connection
but I get an error, the test didn’t pass.

How can I solve this guys?

Hi @Precious_13775,

Please check the connection string your .env file.

Kanika

@Kanika I have done that thanks, but now I can’t pass my db-connection test, please help me?

Hi @Precious_13775,

Please share the code here from your .env file.

Make sure you don’t have firewall on and you can access the cluster from your machine.

Kanika