Update composer to preview external link cards (#52)
* Fetch external link metadata during compose so the user can preview and remove the embed * Add missing mocks * Update tests to match recent changes
This commit is contained in:
parent
27ee550d15
commit
6588961d2e
9 changed files with 262 additions and 64 deletions
|
@ -54,7 +54,7 @@ describe('downloadAndResize', () => {
|
|||
100,
|
||||
100,
|
||||
'JPEG',
|
||||
1,
|
||||
100,
|
||||
undefined,
|
||||
undefined,
|
||||
undefined,
|
||||
|
|
|
@ -63,6 +63,7 @@ describe('ComposePost', () => {
|
|||
mockedRootStore,
|
||||
'testing publish',
|
||||
'testUri',
|
||||
undefined,
|
||||
[],
|
||||
new Set<string>(),
|
||||
expect.anything(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue