mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #24224 from overleaf/em-resync-on-flush-failure
Immediately attempt a resync when a history flush fails GitOrigin-RevId: 098a0a7edf55c0ed47c48e0a3c080e3562cdceaa
This commit is contained in:
@@ -40,7 +40,7 @@ describe('HttpController', function () {
|
||||
clearCachedHistoryId: sinon.stub().yields(),
|
||||
}
|
||||
this.ErrorRecorder = {
|
||||
record: sinon.stub().yields(),
|
||||
clearError: sinon.stub().yields(),
|
||||
}
|
||||
this.LabelsManager = {
|
||||
createLabel: sinon.stub(),
|
||||
@@ -567,11 +567,7 @@ describe('HttpController', function () {
|
||||
})
|
||||
|
||||
it('should clear any failure record', function () {
|
||||
this.ErrorRecorder.record.should.have.been.calledWith(
|
||||
this.projectId,
|
||||
0,
|
||||
null
|
||||
)
|
||||
this.ErrorRecorder.clearError.should.have.been.calledWith(this.projectId)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user