Cleanup after rotating images

This commit is contained in:
ayumi-signal 2024-01-04 11:34:53 -08:00 committed by GitHub
parent 238812382b
commit 0aad09682d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 1 deletions

View file

@ -73,6 +73,7 @@ describe('Message', () => {
writeNewAttachmentData: async (_data: Uint8Array) =>
'fake-attachment-path',
writeNewStickerData: async (_data: Uint8Array) => 'fake-sticker-path',
deleteOnDisk: async (_path: string) => undefined,
...props,
};
}