Fix note test

This commit is contained in:
Alex Gleason 2024-05-18 15:46:28 -05:00
parent c8b999a1f7
commit cbf0bc3594
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 4 additions and 8 deletions

View File

@ -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'],
]]);
});