Fix note test
This commit is contained in:
parent
c8b999a1f7
commit
cbf0bc3594
|
@ -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…
Reference in New Issue