Merge pull request #22320 from overleaf/revert-22213-ar-avoid-duplicate-blob-writes

Revert "Avoid duplicate blob writes"

GitOrigin-RevId: 9f86bcea654cd3fa5f66fbdf42080e7f6e2861a7
This commit is contained in:
Andrew Rumble
2024-12-05 09:04:48 +00:00
committed by Copybot
parent 511fe60a9c
commit ffa28b1a58
12 changed files with 9 additions and 143 deletions
@@ -58,12 +58,7 @@ describe('ProjectUploadManager', function () {
},
]
this.fileEntries = [
{
file: this.file,
path: `/${this.file.name}`,
url: this.fileStoreUrl,
createdBlob: true,
},
{ file: this.file, path: `/${this.file.name}`, url: this.fileStoreUrl },
]
this.fs = {
@@ -99,11 +94,9 @@ describe('ProjectUploadManager', function () {
}
this.FileStoreHandler = {
promises: {
uploadFileFromDiskWithHistoryId: sinon.stub().resolves({
fileRef: this.file,
url: this.fileStoreUrl,
createdBlob: true,
}),
uploadFileFromDiskWithHistoryId: sinon
.stub()
.resolves({ fileRef: this.file, url: this.fileStoreUrl }),
},
}
this.FileSystemImportManager = {