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 ac32e72 commit 720bc4fCopy full SHA for 720bc4f
__test__/api/comments/updateSingleCommentUpVotes.test.js
@@ -56,6 +56,7 @@ describe("PATCH /comments/:commentId/votes/upvote", () => {
56
afterEach(async () => {
57
// Delete mocks from the database.
58
await CommentModel.findByIdAndDelete(oldComment.commentId);
59
+ await CommentModel.findByIdAndDelete(oldCommentWithUpVote.commentId);
60
await CommentModel.findByIdAndDelete(oldCommentWithDownVote.commentId);
61
62
// Delete cache.
0 commit comments