Merge pull request #22177 from overleaf/jpa-file-view-hash-1

[web] migrate file-view to download from history-v1 (via web) 1/2

GitOrigin-RevId: b787e90c57af5e2704b06ba63502aa6fc09ea1df
This commit is contained in:
Jakob Ackermann
2024-11-28 09:06:33 +00:00
committed by Copybot
parent 19ca3deafe
commit 115a13f83a
16 changed files with 468 additions and 44 deletions
@@ -127,8 +127,8 @@ describe('RestoringFiles', function () {
project.rootFolder[0].fileRefs,
file => file.name === 'image.png'
)
file = MockFilestoreApi.files[this.project_id][file._id]
expect(file.content).to.equal(this.pngData)
file = MockFilestoreApi.getFile(this.project_id, file._id)
expect(file).to.deep.equal(this.pngData)
done()
})
})