Merge pull request #15169 from overleaf/tm-compile-timeout-20s-phase-two

Decide new user cutoff using baseline (original) n2d assignment

GitOrigin-RevId: 7ea263cc551f87a4d9fed70450c32d7dea6b1e58
This commit is contained in:
Thomas
2023-10-10 11:42:32 +02:00
committed by Copybot
parent 09019019e0
commit a2ad326b30
4 changed files with 103 additions and 8 deletions
@@ -138,6 +138,7 @@ describe('EditorHttpController', function () {
.resolves({ variant: 'default' }),
},
}
this.UserGetter = { promises: { getUser: sinon.stub().resolves(null, {}) } }
this.EditorHttpController = SandboxedModule.require(MODULE_PATH, {
requires: {
'../Project/ProjectDeleter': this.ProjectDeleter,
@@ -159,6 +160,7 @@ describe('EditorHttpController', function () {
'../Errors/HttpErrorHandler': this.HttpErrorHandler,
'../SplitTests/SplitTestHandler': this.SplitTestHandler,
'../Compile/CompileManager': {},
'../User/UserGetter': this.UserGetter,
},
})
})