Merge pull request #9383 from overleaf/em-file-tree-histories

Track source for all file tree operations

GitOrigin-RevId: ff95ea8e99bfa30203a2a42968519bbaba65e708
This commit is contained in:
Eric Mc Sween
2022-08-26 08:03:30 +00:00
committed by Copybot
parent 2432b265eb
commit 8b2f8ce243
24 changed files with 666 additions and 527 deletions
@@ -24,6 +24,7 @@ describe('HttpController', function () {
this.project_id = 'project-id-123'
this.doc_id = 'doc-id-123'
this.source = 'editor'
this.next = sinon.stub()
this.res = {
send: sinon.stub(),
@@ -837,6 +838,7 @@ describe('HttpController', function () {
userId: this.userId,
updates: this.updates,
version: this.version,
source: this.source,
},
params: {
project_id: this.project_id,
@@ -857,7 +859,8 @@ describe('HttpController', function () {
this.projectHistoryId,
this.userId,
this.updates,
this.version
this.version,
this.source
)
.should.equal(true)
})