diff --git a/lib/util.js b/lib/util.js index ce8626e..7647ec2 100644 --- a/lib/util.js +++ b/lib/util.js @@ -11,7 +11,7 @@ const sdk = require('postman-collection'), XML: 'xml' // used for request-body XMLs }, URLENCODED = 'application/x-www-form-urlencoded', - APP_JSON = 'application/json', + APP_JSON = 'application/json', APP_VND_JSON = 'application/vnd.api+json', APP_JS = 'application/javascript', APP_XML = 'application/xml', diff --git a/test/unit/base.test.js b/test/unit/base.test.js index 67feb52..51ef23c 100644 --- a/test/unit/base.test.js +++ b/test/unit/base.test.js @@ -41,8 +41,8 @@ describe('CONVERT FUNCTION TESTS ', function() { done(); }); }); - it('should generate collection for a custom content type headers requests.' - + specPath2 , function(done) { + it('should generate collection for a custom content type headers requests.' + + specPath2, function(done) { var openapi = fs.readFileSync(specPath2, 'utf8'); Converter.convert({ type: 'string', data: openapi }, { schemaFaker: true }, (err, conversionResult) => { expect(err).to.be.null; @@ -55,7 +55,7 @@ describe('CONVERT FUNCTION TESTS ', function() { expect(conversionResult.output[0].data.item[0].response[0]).to.have.property('body'); done(); }); - }); + }); }); describe('for invalid requestNameSource option', function() { var pathPrefix = VALID_OPENAPI_PATH + '/test1.json',