Improve quoted attachment typings
This commit is contained in:
parent
38226115a4
commit
5f0080a7d7
20 changed files with 98 additions and 97 deletions
|
@ -10,7 +10,7 @@ import {
|
|||
} from '../textsecure/processDataMessage';
|
||||
import type { ProcessedAttachment } from '../textsecure/Types.d';
|
||||
import { SignalService as Proto } from '../protobuf';
|
||||
import { IMAGE_GIF } from '../types/MIME';
|
||||
import { IMAGE_GIF, IMAGE_JPEG } from '../types/MIME';
|
||||
import { generateAci } from '../types/ServiceId';
|
||||
|
||||
const ACI_1 = generateAci();
|
||||
|
@ -142,7 +142,7 @@ describe('processDataMessage', () => {
|
|||
text: 'text',
|
||||
attachments: [
|
||||
{
|
||||
contentType: 'image/jpeg',
|
||||
contentType: IMAGE_JPEG,
|
||||
fileName: 'image.jpg',
|
||||
thumbnail: PROCESSED_ATTACHMENT,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue