You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fc.object supports emitting all sorts of stuff for its values.
Some of them have their own arbitraries (e.g. withBigInt option corresponds to fc.bigInt), but some do not (e.g. withMap option doesn't have a corresponding exported arbitrary).
I think all of the things that fc.object can generate should be supported as standalone arbitraries too.
Motivation
It's convenient to be able to generate these types outside an object.
Example
// To generate Map<string, unknown>fc.map(fc.string(),fc.anything())
The text was updated successfully, but these errors were encountered:
🚀 Feature Request
fc.object
supports emitting all sorts of stuff for its values.Some of them have their own arbitraries (e.g.
withBigInt
option corresponds tofc.bigInt
), but some do not (e.g.withMap
option doesn't have a corresponding exported arbitrary).I think all of the things that
fc.object
can generate should be supported as standalone arbitraries too.Motivation
It's convenient to be able to generate these types outside an object.
Example
The text was updated successfully, but these errors were encountered: