Closed Eoksni closed 7 years ago
App should not crash if db is not available, it should reconnect instead.
And tests also should wait for db to be available! Probably...
https://mochajs.org/#timeouts - you will need this in case you decide to add check for db availability in the tests themselves.
App should not crash if db is not available, it should reconnect instead.