mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 11:21:12 +00:00
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. |
||
---|---|---|
.. | ||
DocArchiveManagerTests.js | ||
DocManagerTests.js | ||
HttpControllerTests.js | ||
MongoManagerTests.js | ||
RangeManagerTests.js |