We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95cc99c + 2b95b15 commit e9d1fdaCopy full SHA for e9d1fda
test/unit/base.test.js
@@ -1816,7 +1816,9 @@ describe('CONVERT FUNCTION TESTS ', function() {
1816
const responseBodyWithAdditionalProperties =
1817
JSON.parse(conversionResult.output[0].data.item[0].response[1].body);
1818
expect(responseBodyWithAdditionalProperties).to.include.keys('test1');
1819
- expect(Object.keys(responseBodyWithAdditionalProperties).length).to.be.greaterThan(1);
+
1820
+ // json-schema-faker doesn't guarantee that there will always be additional properties generated
1821
+ expect(Object.keys(responseBodyWithAdditionalProperties).length).to.be.greaterThanOrEqual(1);
1822
done();
1823
});
1824
0 commit comments