diff --git a/lib/parse-model.js b/lib/parse-model.js index f6dc909..7e63e6f 100644 --- a/lib/parse-model.js +++ b/lib/parse-model.js @@ -49,7 +49,7 @@ function append(model, _options) { const modelAttributeTypes = { randomNumberBetween: numbers.randomBetween, randomNumberBetweenWithString: numbers.randomBetweenWithString, - faker: (args) => Object.byString(faker, args)(), + faker: (args, options = {}) => Object.byString(faker, args)(...options), Object: parseModel, Array: parseArray, prepend,