api-design-node-v3
api-design-node-v3 copied to clipboard
Cannot read property of undefined thrown by connection.db.dropDatabase()
On windows, I edited the test-db-setup.js file and also the dev.js and testing.js files contained in the config folder.
I changed all the instances of mongodb://localhost:27017
to mongodb://0.0.0.0:27017
I got this from a stackoverflow answer, specifically the second answer.