api-design-node-v3 icon indicating copy to clipboard operation
api-design-node-v3 copied to clipboard

Cannot read property of undefined thrown by connection.db.dropDatabase()

Open jhhornn opened this issue 1 year ago • 0 comments

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.

jhhornn avatar Sep 26 '22 08:09 jhhornn