Skip to content

Commit

Permalink
explicitly test url
Browse files Browse the repository at this point in the history
  • Loading branch information
timolegros authored and ilijabojanovic committed Aug 21, 2024
1 parent 918b7b0 commit ba3b5a8
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,8 @@ describe('CommentCreated Event Handler', () => {
comment_parent_name: 'thread',
community_name: community?.name,
comment_body: rootComment?.text.substring(0, 255),
comment_url: getCommentUrl(
community!.id!,
thread!.id!,
rootComment!.id!,
customDomain,
),
comment_url: `https://${customDomain}/${community!
.id!}/discussion/${thread!.id!}?comment=${rootComment!.id!}`,
comment_created_event: { ...rootComment, community_id: community!.id },
},
// @ts-expect-error StrictNullChecks
Expand Down

0 comments on commit ba3b5a8

Please sign in to comment.