Skip to content

Commit

Permalink
Add failing link test
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Sep 6, 2024
1 parent b8effb5 commit 23adfe5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/message-parser/tests/link.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,10 @@ Text after line break`,
]),
],
],
[
'(https://rocket.chat)',
[paragraph([plain('('), link('https://rocket.chat'), plain(')')])],
],
])('parses %p', (input, output) => {
expect(parse(input)).toMatchObject(output);
});

0 comments on commit 23adfe5

Please sign in to comment.