From 843092e5f0e26ce1af29e67fb223a4840b25d03c Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 1 Jul 2023 10:14:55 -0400 Subject: [PATCH] test --- server/commands/commentDestroyer.test.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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, });