We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f416969 commit 61e7352Copy full SHA for 61e7352
graphql/resolvers/addComment.test.js
@@ -118,10 +118,10 @@ describe('Should send required discord notifications', () => {
118
...mockAddCommentArgs
119
})
120
121
- // tests sending notification if the author ID is different from the comment author ID
+ // tests sending notification if the author ID is different from the comment author ID & submission author ID
122
prismaMock.comment.findMany.mockResolvedValue([
123
commentMock,
124
- { ...commentMock, author: { ...commentMock.author, id: 2 } }
+ { ...commentMock, author: { ...commentMock.author, id: 3 } }
125
])
126
127
await addComment({}, mockAddCommentArgs, mockCtx)
0 commit comments