Tell us what’s happening:
All tests fail despite the test conditions seeming to be met.
As far as I can tell, this challenge requires:
- connect to
I believe that the packages are installed correctly because:
- both appear in
- both appear when
npm listis run from the shell
I believe that the app is connecting to the database because there are no errors on the console. However, I’m not yet sure how to test this further.
I’m attempting to run tests by pasting the public URL from repl.it into the “Solution Link” text box and then clicking the button “I’ve completed this challenge.” The output is:
// running tests "mongodb" dependency should be in package.json "mongoose" dependency should be in package.json "mongoose" should be connected to a database // tests completed
All tests fail.
Can anyone spot the error? I’m uncertain if I’m linking improperly to repl.it or if there is a mistake in the code.
Thanks for your help!
Your code so far
Your browser information:
User Agent is:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0.
Challenge: Install and Set Up Mongoose
Link to the challenge: