You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because thing.spec.js requires "server/app.js" but User does not. If you run the User test first then the mongoose mongo connection is not open so the DB operations pause forever timing out the tests.
The fix is to add a "require('../../app')" to the user test also.
The text was updated successfully, but these errors were encountered:
This is because thing.spec.js requires "server/app.js" but User does not. If you run the User test first then the mongoose mongo connection is not open so the DB operations pause forever timing out the tests.
The fix is to add a "require('../../app')" to the user test also.
The text was updated successfully, but these errors were encountered: