mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #20834 from overleaf/em-validate-tracked-deletes
Sanity check for tracked changes in document-updater GitOrigin-RevId: 5f4c5cb931a6dae5257fed2f21e40777cb466309
This commit is contained in:
@@ -691,6 +691,8 @@ describe('DocumentManager', function () {
|
||||
|
||||
it('should apply the accept change to the ranges', function () {
|
||||
this.RangesManager.acceptChanges.should.have.been.calledWith(
|
||||
this.project_id,
|
||||
this.doc_id,
|
||||
[this.change_id],
|
||||
this.ranges
|
||||
)
|
||||
@@ -722,7 +724,12 @@ describe('DocumentManager', function () {
|
||||
|
||||
it('should apply the accept change to the ranges', function () {
|
||||
this.RangesManager.acceptChanges
|
||||
.calledWith(this.change_ids, this.ranges)
|
||||
.calledWith(
|
||||
this.project_id,
|
||||
this.doc_id,
|
||||
this.change_ids,
|
||||
this.ranges
|
||||
)
|
||||
.should.equal(true)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user