diff --git a/server/commands/commentCreator.test.ts b/server/commands/commentCreator.test.ts index 2c2499248..c72ad6f2a 100644 --- a/server/commands/commentCreator.test.ts +++ b/server/commands/commentCreator.test.ts @@ -17,7 +17,20 @@ describe("commentCreator", () => { const comment = await commentCreator({ documentId: document.id, - data: { text: "test" }, + data: { + type: "doc", + content: [ + { + type: "paragraph", + content: [ + { + type: "text", + text: "test", + }, + ], + }, + ], + }, user, ip, });