The Mocha test suite for API + MongoDB is occasionally failing.
The tests seems to be called be the preliminary done() is called in before( ).
This is especially annoying with the git commit pre-hook.
Workaround: Give the npm run testat least three tries, and use git commit -m "{message}" -nfor now.
The Mocha test suite for API + MongoDB is occasionally failing.
The tests seems to be called be the preliminary
done()is called inbefore( ).This is especially annoying with the git commit pre-hook.
Workaround: Give the
npm run testat least three tries, and usegit commit -m "{message}" -nfor now.