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

Commit

Permalink
Whoops. Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Sep 18, 2017
1 parent 99783b1 commit 184ca88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/api-explorer-ui/__tests__/Doc.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ test('should output a div', () => {
});

test('should work without a doc.swagger/doc.path/oas', () => {
const doc = { title: 'title', slug: 'slug', type: 'basic' }
const doc = { title: 'title', slug: 'slug', type: 'basic' };
const docComponent = shallow(<Doc doc={doc} setLanguage={() => {}} />);

assertDocElements(docComponent, doc)
assertDocElements(docComponent, doc);
expect(docComponent.find('.hub-api').length).toBe(0);
expect(docComponent.find('Content').length).toBe(1);
});
Expand Down
1 change: 0 additions & 1 deletion packages/api-explorer-ui/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27752,7 +27752,6 @@ var Loop = function Loop(_ref) {
var Content = function Content(props) {
var body = props.body;

console.log(body);
var isThreeColumn = props['is-three-column'];

var content = parseBlocks(body);
Expand Down

0 comments on commit 184ca88

Please sign in to comment.