This commit is contained in:
Tom Moor
2023-07-01 10:14:55 -04:00
parent 1fd7f75929
commit 843092e5f0

View File

@@ -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,
});