Merge pull request #34843 from overleaf/bg-add-compile-timer

add timer for compile with checkpoints

GitOrigin-RevId: ec758d34594f242a5cac8192233bfe2db783e42a
This commit is contained in:
Brian Gough
2026-06-23 08:05:55 +00:00
committed by Copybot
parent b1ed38c2d0
commit 23dca72cd3
9 changed files with 143 additions and 0 deletions
@@ -909,6 +909,18 @@ describe('ProjectController', function () {
})
})
it('should request compile-with-checkpoint split test assignment', async function (ctx) {
await new Promise(resolve => {
ctx.res.render = () => {
expect(
ctx.SplitTestHandler.promises.getAssignment
).to.have.been.calledWith(ctx.req, ctx.res, 'compile-with-checkpoint')
resolve()
}
ctx.ProjectController.loadEditor(ctx.req, ctx.res)
})
})
it('should redirect to domain capture page', async function (ctx) {
ctx.Features.hasFeature.withArgs('saas').returns(true)
ctx.SplitTestHandler.promises.getAssignment