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

Commit

Permalink
resolve cli issues
Browse files Browse the repository at this point in the history
  • Loading branch information
uppal101 committed Sep 18, 2017
1 parent 4e44d51 commit 6e3ff4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions packages/api-explorer-ui/__tests__/index.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ describe('selected language', () => {
[extensions.SAMPLES_LANGUAGES]: languages,
}),
}}
cookie={languageCookie}
/>,
);

Expand All @@ -88,6 +89,7 @@ describe('selected language', () => {
[extensions.SAMPLES_LANGUAGES]: languages,
}),
}}
cookie={languageCookie}
/>,
);

Expand All @@ -102,6 +104,7 @@ describe('selected language', () => {
oasFiles={{
'api-setting': Object.assign({}, oas),
}}
cookie={languageCookie}
/>,
);

Expand Down
5 changes: 0 additions & 5 deletions packages/api-explorer-ui/src/Doc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@ Doc.propTypes = {
}).isRequired,
oas: PropTypes.shape({}),
setLanguage: PropTypes.func.isRequired,
language: PropTypes.string,
};

Doc.defaultProps = {
language: 'curl',
};

Doc.defaultProps = {
Expand Down

0 comments on commit 6e3ff4e

Please sign in to comment.