Merge pull request #3390 from overleaf/jpa-faster-unit-tests

[perf] faster unit tests

GitOrigin-RevId: 188b8f3752638fde7a27a8d83b416bb9a6e3c95e
This commit is contained in:
Jakob Ackermann
2020-11-27 13:11:12 +00:00
committed by Copybot
parent b4ae89892b
commit 6eeb7857e3
64 changed files with 151 additions and 110 deletions
@@ -21,6 +21,7 @@ const modulePath = path.join(
'../../../../app/src/Features/InactiveData/InactiveProjectManager'
)
const { expect } = require('chai')
const { ObjectId } = require('mongodb')
describe('InactiveProjectManager', function() {
beforeEach(function() {
@@ -40,6 +41,7 @@ describe('InactiveProjectManager', function() {
console: console
},
requires: {
mongodb: { ObjectId },
'settings-sharelatex': this.settings,
'logger-sharelatex': {
log() {},