Skip to content

Commit 718f534

Browse files
committed
Updated default stack limit from 10 to 8
1 parent 7744105 commit 718f534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/validator.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,14 +1342,14 @@ describe('VALIDATE FUNCTION TESTS ', function () {
13421342
});
13431343
});
13441344

1345-
it('Should report a mismatch when the response body is not valid', function (done) {
1345+
it.only('Should report a mismatch when the response body is not valid', function (done) {
13461346
let allOfExample = fs.readFileSync(path.join(__dirname, VALIDATION_DATA_FOLDER_PATH +
13471347
'/invalid_response_body_all_of_properties_spec.json'), 'utf-8'),
13481348
allOfCollection = fs.readFileSync(path.join(__dirname, VALIDATION_DATA_FOLDER_PATH +
13491349
'/invalid_response_body_all_of_properties_collection.json'), 'utf-8'),
13501350
historyRequest = [],
13511351
schemaPack = new Converter.SchemaPack({ type: 'string', data: allOfExample },
1352-
{ suggestAvailableFixes: true, showMissingInSchemaErrors: true });
1352+
{ suggestAvailableFixes: true, showMissingInSchemaErrors: true, optimizeConversion: false, stackLimit: 10 });
13531353

13541354
getAllTransactions(JSON.parse(allOfCollection), historyRequest);
13551355

0 commit comments

Comments
 (0)