diff --git a/server/commands/commentDestroyer.test.ts b/server/commands/commentDestroyer.test.ts index b36be3e43..e3937bd0f 100644 --- a/server/commands/commentDestroyer.test.ts +++ b/server/commands/commentDestroyer.test.ts @@ -18,7 +18,20 @@ describe("commentDestroyer", () => { const comment = await Comment.create({ teamId: document.teamId, documentId: document.id, - data: { text: "test" }, + data: { + type: "doc", + content: [ + { + type: "paragraph", + content: [ + { + type: "text", + text: "test", + }, + ], + }, + ], + }, createdById: user.id, });