Add test for textForPinnedEvent
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
This commit is contained in:
parent
e7151ebf2d
commit
40ead34c08
2 changed files with 60 additions and 0 deletions
17
test/__snapshots__/TextForEvent-test.ts.snap
Normal file
17
test/__snapshots__/TextForEvent-test.ts.snap
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`TextForPinnedEvent (JSX) should mention sender 1`] = `
|
||||
<span>
|
||||
<span>
|
||||
@foo:example.com changed the
|
||||
<a
|
||||
onClick={[Function]}
|
||||
>
|
||||
|
||||
pinned messages
|
||||
|
||||
</a>
|
||||
for the room.
|
||||
</span>
|
||||
</span>
|
||||
`;
|
Loading…
Add table
Add a link
Reference in a new issue