Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
test: form data testing
Browse files Browse the repository at this point in the history
Fixing my test so it actually works. Not sure what is needed for the Uncovered Line #s 175-179
  • Loading branch information
devNoiseConsulting committed Jul 24, 2021
1 parent 547b137 commit 8a26c69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,10 @@ describe('Library specs', function () {
equal(result, EXPECTED_RESPONSES_NO_HEADERS)
})

// it('should parse POST methods with form data', async function () {
// const result = await postmanToOpenApi(COLLECTION_FORM_DATA, OUTPUT_PATH, { pathDepth: 2, responseHeaders: false })
// equal(result, COLLECTION_FORM_DATA)
// })
it('should parse POST methods with form data', async function () {
const result = await postmanToOpenApi(COLLECTION_FORM_DATA, OUTPUT_PATH, {})
equal(result, EXPECTED_FORM_DATA)
})
})
})

Expand Down

0 comments on commit 8a26c69

Please sign in to comment.