scottbishopdev / RoverInterviewProject

A project I completed in about two weeks while interviewing for Rover.com in 2018. This is a re-upload of my original Rover_Interview_Project repo.
GNU General Public License v3.0
0 stars 0 forks source link

Automated tests currently hang on completion #5

Open scottbishopdev opened 4 years ago

scottbishopdev commented 4 years ago

Currently, our test scripts will hang on completion until the user manually terminates their execution. This is most likely because Mocha still has a live connection to MongoDB that we haven't disposed of yet. I took a stab at resolving this before uploading the repo, but it looks like fixing it might be a bit involved. My current theory is that the test scripts are referencing/calling/invoking server.js, which opens a connection to MongoDB and simply never closes it because it expects to need that connection the entire time it's running (side note: I've created #4 to resolve this).

This issue will need to be resolved before we can start working on anything in the Implement GithubActions project.