Update electron to 13.1.2
This commit is contained in:
parent
6e88c6aee1
commit
df0aadc8a4
5 changed files with 19 additions and 9 deletions
|
@ -8,6 +8,8 @@ import * as path from 'path';
|
|||
import AbortController from 'abort-controller';
|
||||
import { MIMEType, IMAGE_JPEG } from '../../types/MIME';
|
||||
|
||||
import { typedArrayToArrayBuffer } from '../../Crypto';
|
||||
|
||||
import {
|
||||
fetchLinkPreviewImage,
|
||||
fetchLinkPreviewMetadata,
|
||||
|
@ -1155,7 +1157,7 @@ describe('link preview fetching', () => {
|
|||
new AbortController().signal
|
||||
),
|
||||
{
|
||||
data: fixture.buffer,
|
||||
data: typedArrayToArrayBuffer(fixture),
|
||||
contentType: contentType as MIMEType,
|
||||
}
|
||||
);
|
||||
|
@ -1240,7 +1242,7 @@ describe('link preview fetching', () => {
|
|||
new AbortController().signal
|
||||
),
|
||||
{
|
||||
data: fixture.buffer,
|
||||
data: typedArrayToArrayBuffer(fixture),
|
||||
contentType: IMAGE_JPEG,
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue