Skip to content

Commit 039b964

Browse files
add text assertion in test
1 parent 43e6955 commit 039b964

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/meteor/client/components/message/content/attachments/QuoteAttachment.spec.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ describe('QuoteAttachment', () => {
4040
render(<QuoteAttachment attachment={attachment as any} />);
4141

4242
expect(screen.queryByTestId('message-content-body')).not.toBeInTheDocument();
43+
expect(screen.getByText(longText)).toBeInTheDocument();
4344
});
4445
});

0 commit comments

Comments
 (0)