From ab17be219c24f53e06078f7d6ad8e4a627381473 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 7 Aug 2024 17:37:44 -0500 Subject: [PATCH] Fix parseNoteContent test --- src/utils/note.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/note.test.ts b/src/utils/note.test.ts index b351dbfd..0c9c6bf8 100644 --- a/src/utils/note.test.ts +++ b/src/utils/note.test.ts @@ -4,7 +4,7 @@ import { eventFixture } from '@/test.ts'; import { getMediaLinks, parseNoteContent, stripimeta } from '@/utils/note.ts'; Deno.test('parseNoteContent', () => { - const { html, links, firstUrl } = parseNoteContent('Hello, world!'); + const { html, links, firstUrl } = parseNoteContent('Hello, world!', []); assertEquals(html, 'Hello, world!'); assertEquals(links, []); assertEquals(firstUrl, undefined);