overleaf/services/docstore/test/unit/js
Jakob Ackermann 8a8a830ad3 [misc] simplify mongodb collection access using a shared db construct
Resolve the getCollection Promises once and store the result in a shared
 `db` object which can get imported by all the call-sites.

The http server is starting only after a Promise of `waitForDb()`
 resolves. This covers the app code and the acceptance tests.
2020-09-17 15:39:44 +01:00
..
DocArchiveManagerTests.js [misc] migrate the app to the native mongo driver 2020-08-25 09:40:59 +01:00
DocManagerTests.js [misc] migrate the app to the native mongo driver 2020-08-25 09:40:59 +01:00
HttpControllerTests.js Upgrade metrics to @overleaf/metrics' 2020-09-10 18:07:14 +01:00
MongoManagerTests.js [misc] simplify mongodb collection access using a shared db construct 2020-09-17 15:39:44 +01:00
RangeManagerTests.js [misc] migrate the app to the native mongo driver 2020-08-25 09:40:59 +01:00