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

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Jun 20, 2018
1 parent 94289f2 commit 8531063
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/api-explorer/__tests__/lib/oas-to-har.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,22 @@ describe('body values', () => {
oasToHar(
{
components: {
requestBodies: { schema: { content: { 'application/json': { schema: { type: 'object', properties: { a: { type: 'integer' } } } } } } },
requestBodies: {
schema: {
content: {
'application/json': {
schema: { type: 'object', properties: { a: { type: 'integer' } } },
},
},
},
},
},
},
{
path: '/body',
method: 'get',
requestBody: {
$ref: '#/components/requestBodies/schema'
$ref: '#/components/requestBodies/schema',
},
},
{ body: { a: 123 } },
Expand Down

0 comments on commit 8531063

Please sign in to comment.