Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Make sure images are working
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Jun 25, 2018
1 parent c281cb6 commit 76d58b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ exports[`headings 1`] = `
"
`;
exports[`image 1`] = `
"<p><img src=\\"http://example.com/image.png\\" alt=\\"Image\\"></p>
"
`;
exports[`image 1`] = `"<div><p><img src=\\"http://example.com/image.png\\" alt=\\"Image\\"/></p></div>"`;
exports[`list items 1`] = `
"<ul>
Expand Down
2 changes: 1 addition & 1 deletion packages/api-explorer/__tests__/lib/markdown.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const markdown = require('../../src/lib/markdown');
const { shallow } = require('enzyme');

test('image', () => {
expect(markdown('![Image](http://example.com/image.png)')).toMatchSnapshot();
expect(shallow(markdown('![Image](http://example.com/image.png)')).html()).toMatchSnapshot();
});

test('list items', () => {
Expand Down

0 comments on commit 76d58b6

Please sign in to comment.