@@ -14,6 +14,7 @@ const COLLECTION_NO_OPTIONS = './test/resources/input/NoOptionsInBody.json'
1414const COLLECTION_NULL_HEADERS = './test/resources/input/NullHeaders.json'
1515
1616const EXPECTED_BASIC = readFileSync ( './test/resources/output/Basic.yml' , 'utf8' )
17+ const EXPECTED_BASIC_NO_OPTS = readFileSync ( './test/resources/output/BasicNoOptions.yml' , 'utf8' )
1718const EXPECTED_INFO_OPTS = readFileSync ( './test/resources/output/InfoOpts.yml' , 'utf8' )
1819const EXPECTED_NO_VERSION = readFileSync ( './test/resources/output/NoVersion.yml' , 'utf8' )
1920const EXPECTED_CUSTOM_TAG = readFileSync ( './test/resources/output/CustomTag.yml' , 'utf8' )
@@ -495,7 +496,7 @@ describe('Library specs', function () {
495496
496497 it ( 'should work if no options in request body' , async function ( ) {
497498 const result = await postmanToOpenApi ( COLLECTION_NO_OPTIONS , OUTPUT_PATH , { } )
498- equal ( result , EXPECTED_BASIC )
499+ equal ( result , EXPECTED_BASIC_NO_OPTS )
499500 } )
500501
501502 it ( 'should expose the version of the library' , async function ( ) {
@@ -510,6 +511,6 @@ describe('Library specs', function () {
510511 it ( 'should work with string as input (instead of a file path)' , async function ( ) {
511512 const collectionString = await readFile ( COLLECTION_NO_OPTIONS , 'utf8' )
512513 const result = await postmanToOpenApi ( collectionString , OUTPUT_PATH , { } )
513- equal ( result , EXPECTED_BASIC )
514+ equal ( result , EXPECTED_BASIC_NO_OPTS )
514515 } )
515516} )
0 commit comments