diff --git a/src/utils/note.test.ts b/src/utils/note.test.ts index d123050..9c8fad7 100644 --- a/src/utils/note.test.ts +++ b/src/utils/note.test.ts @@ -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'], + ]]); });