Improve recovery from corrupted downloads
This commit is contained in:
parent
a46a4a67b9
commit
572849b9dd
3 changed files with 21 additions and 10 deletions
|
|
@ -134,7 +134,9 @@ describe('utils/ensureAttachmentIsReencryptable', async () => {
|
|||
|
||||
after(async () => {
|
||||
if (path) {
|
||||
await safeUnlink(path);
|
||||
await safeUnlink(
|
||||
window.Signal.Migrations.getAbsoluteAttachmentPath(path)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue