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

Commit

Permalink
test: fixing a broken test and re-building the dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Mar 18, 2020
1 parent aaa6361 commit 407dd41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const React = require('react');
const { shallow } = require('enzyme');
const { mount, shallow } = require('enzyme');
const markdown = require('@readme/markdown');
const markdownMagic = require('@readme/markdown-magic');
const DescriptionField = require('../../src/form-components/DescriptionField');
Expand All @@ -9,7 +9,7 @@ test.each([[true], [false]])('should parse description as markdown [new markdown

let html;
if (useNewMarkdownEngine) {
html = shallow(markdown.react(actual)).html();
html = mount(markdown.react(actual)).html();
} else {
html = shallow(markdownMagic(actual)).html();
}
Expand Down
2 changes: 1 addition & 1 deletion packages/api-explorer/dist/index.js

Large diffs are not rendered by default.

0 comments on commit 407dd41

Please sign in to comment.