Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rshen91 committed Oct 14, 2022
1 parent 5bc2451 commit e4f1adc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/shared-ux/markdown/impl/markdown.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('shared ux markdown component', () => {

it('renders for displaying a readonly message', () => {
const component = render(<Markdown readOnly markdownContent="error message" />);
expect(component).toMatchSnapshot();
expect(component.text()).toContain('error message');
});

it('will not render EuiMarkdownFormat when readOnly false and markdownContent specified', () => {
Expand Down

0 comments on commit e4f1adc

Please sign in to comment.