fix: validation err (#5505)

This commit is contained in:
Apoorv Mishra
2023-07-01 20:30:34 +05:30
committed by GitHub
parent 843092e5f0
commit 7aec0e24ef

View File

@@ -17,7 +17,20 @@ describe("commentCreator", () => {
const comment = await commentCreator({ const comment = await commentCreator({
documentId: document.id, documentId: document.id,
data: { text: "test" }, data: {
type: "doc",
content: [
{
type: "paragraph",
content: [
{
type: "text",
text: "test",
},
],
},
],
},
user, user,
ip, ip,
}); });