Skip to content

Commit

Permalink
Update tests/actions/ReportTest.js
Browse files Browse the repository at this point in the history
Co-authored-by: Amy Evans <[email protected]>
  • Loading branch information
eh2077 and amyevans committed Apr 18, 2023
1 parent 9c4eee2 commit 565cc9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/actions/ReportTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ describe('actions/Report', () => {
expectedOutput = '<a href="https://www.facebook.com/hashtag/__main/?__eep__=6" target="_blank" rel="noreferrer noopener">https://www.facebook.com/hashtag/__main/?__eep__=6</a>';
expect(newCommentHTML).toBe(expectedOutput);

// User edit and delete the link with underscore
// User edits and deletes the link containing underscores
// We should not generate link
originalCommentHTML = '<a href="https://www.facebook.com/hashtag/__main/?__eep__=6" target="_blank" rel="noreferrer noopener">https://www.facebook.com/hashtag/__main/?__eep__=6</a>';
afterEditCommentText = 'https://www.facebook.com/hashtag/__main/?__eep__=6';
Expand Down

0 comments on commit 565cc9d

Please sign in to comment.