mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Update bundle.test.js
This commit is contained in:
@@ -2550,7 +2550,7 @@ describe('bundle files method - 2.0', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('Should return bundled file - referenced Security Schemes', async function () {
|
it('Should return bundled file - referenced Security Schemes', async function () {
|
||||||
let contentRootFile = fs.readFileSync(referencedSecuritySchemes20 + '/root.yaml', 'utf8'),
|
let contentRoot = fs.readFileSync(referencedSecuritySchemes20 + '/root.yaml', 'utf8'),
|
||||||
contentRef = fs.readFileSync(referencedSecuritySchemes20 + '/sschemes.yaml', 'utf8'),
|
contentRef = fs.readFileSync(referencedSecuritySchemes20 + '/sschemes.yaml', 'utf8'),
|
||||||
expected = fs.readFileSync(referencedSecuritySchemes20 + '/expected.json', 'utf8'),
|
expected = fs.readFileSync(referencedSecuritySchemes20 + '/expected.json', 'utf8'),
|
||||||
input = {
|
input = {
|
||||||
@@ -2564,7 +2564,7 @@ describe('bundle files method - 2.0', function() {
|
|||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
path: '/root.yaml',
|
path: '/root.yaml',
|
||||||
content: contentRootFile
|
content: contentRoot
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/sschemes.yaml',
|
path: '/sschemes.yaml',
|
||||||
|
|||||||
Reference in New Issue
Block a user