mocha-mongoose
JSON →Test helpers for clearing MongoDB collections between Mocha test runs using Mongoose. Version 1.2.0, stable but unmaintained since 2016. Automatically drops all collections before each spec to ensure test isolation. Supports optional `skip` array to preserve specific collections and `noClear` option for manual clearing. Requires peer dependencies mocha >=1.0.0 and mongodb >=1.0.0. An alternative to mongodb-memory-server or jest-mongodb for integration testing with your local database.
Traffic · last 30 days stale · no recent hits
total hits 10
actors 4 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada
Resources
packagemocha-mongoose ↗