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

Commit

Permalink
Prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Oct 26, 2017
1 parent d4c557a commit 7d3e724
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions packages/api-explorer-ui/__tests__/lib/replace-vars.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
//
describe('replaceVars', () => {
it.skip('should return true if auth data is passed in correctly for api key condition', () => {
// // const operation = oas.operation('/api-key', 'post');
// //
// expect(
// replaceVars({
// user: {
// email: 'test@example.com',
// name: 'Test user name',
// },
// }),
// ).toEqual({
// user: {
// email: 'test@example.com',
// name: 'Test user name',
// },
// });
// // const operation = oas.operation('/api-key', 'post');
// //
// expect(
// replaceVars({
// user: {
// email: 'test@example.com',
// name: 'Test user name',
// },
// }),
// ).toEqual({
// user: {
// email: 'test@example.com',
// name: 'Test user name',
// },
// });
});
});
2 changes: 1 addition & 1 deletion packages/api-explorer-ui/src/CodeSampleResponse.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class CodeSampleResponse extends React.Component {
Reauthenticate via OAuth2
</a>
</div>(<p> Your OAuth2 token is incorrect or has expired</p>))(
<p>You couldn't be authenticated</p>,
<p>You couldn't be authenticated</p>,
)}
</div>
)}
Expand Down

0 comments on commit 7d3e724

Please sign in to comment.