mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Fix note test
This commit is contained in:
parent
c8b999a1f7
commit
cbf0bc3594
1 changed files with 4 additions and 8 deletions
|
|
@ -17,12 +17,8 @@ Deno.test('getMediaLinks', () => {
|
|||
{ href: 'https://example.com/' },
|
||||
];
|
||||
const mediaLinks = getMediaLinks(links);
|
||||
assertEquals(mediaLinks, [
|
||||
{
|
||||
url: 'https://example.com/image.png',
|
||||
data: {
|
||||
mime: 'image/png',
|
||||
},
|
||||
},
|
||||
]);
|
||||
assertEquals(mediaLinks, [[
|
||||
['url', 'https://example.com/image.png'],
|
||||
['m', 'image/png'],
|
||||
]]);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue