emerleite/node-database-cleaner — Issue #15: Hangs on an empty mongodb database
Author: mdz
Created: 2012-02-05 00:22:36+00:00
State: open

If there are no collections in the database, database-cleaner will hang, because it never calls the callback. collections.forEach will simply do nothing when collections has no items in it.