fix(flash-transfer): finish seconds-pass flash uploads
A fileset that already exists on the server still needs the apply step so the share is not left waiting for upload. Fixes #420
This commit is contained in:
3 files changed
+9
-6
No files matched your search
@@ -196,7 +196,9 @@ describe('FlashTransferApi.createFlashTask — disk streaming (#359)', () => {
|
||||
|
||||
await api().createFlashTask(file);
|
||||
expect(mainSlices(slices)).toHaveLength(0);
|
||||
expect(ApplyUpload.invoke).toHaveBeenCalled(); // thumbs still apply
|
||||
expect(ApplyUpload.invoke).toHaveBeenCalledWith(expect.anything(), expect.objectContaining({
|
||||
fileName: 'hit.mp4',
|
||||
}));
|
||||
expect(SetFilesetStatus.invoke).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user