Interface: LoremConstraints
Defined in: packages/fast-check/src/arbitrary/lorem.ts:21
Constraints to be applied on lorem
Remarks
Since 2.5.0
Properties
maxCount?
optionalmaxCount?:number
Defined in: packages/fast-check/src/arbitrary/lorem.ts:30
Maximal number of entities:
- maximal number of words in case mode is 'words'
- maximal number of sentences in case mode is 'sentences'
Default Value
0x7fffffff — defaulting seen as "max non specified" when defaultSizeToMaxWhenMaxSpecified=true
Remarks
Since 2.5.0
mode?
optionalmode?:"words"|"sentences"
Defined in: packages/fast-check/src/arbitrary/lorem.ts:39
Type of strings that should be produced by lorem:
- words: multiple words
- sentences: multiple sentences
Default Value
'words'
Remarks
Since 2.5.0
size?
optionalsize?:SizeForArbitrary
Defined in: packages/fast-check/src/arbitrary/lorem.ts:44
Define how large the generated values should be (at max)
Remarks
Since 2.22.0