Fixed wrongly defined maxLength option for schemaFaker

This commit is contained in:
Vishal Shingala
2021-03-19 15:47:10 +05:30
parent 408019b6ac
commit fe7a22cff0

View File

@@ -99,8 +99,7 @@ const async = require('async'),
schemaFaker.option({
requiredOnly: false,
optionalsProbability: 1.0, // always add optional fields
minLength: 4, // for faked strings
maxLength: 4,
maxLength: 256,
minItems: 1, // for arrays
maxItems: 20, // limit on maximum number of items faked for (type: arrray)
useDefaultValue: true,