fix: validation err (#5505)

This commit is contained in:
Apoorv Mishra authored and GitHub committed 2023-07-01 20:30:34 +05:30
1 parent 843092e5f0
commit 7aec0e24ef
1 file changed
+14 -1
+14 -1
View File
@@ -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,
});