We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fc.anything()
Today fc.anything() produces:
[object Array]......53.42% [object Number].....19.95% [object String]......8.91% [object Object]......6.65% [object Boolean].....6.65% [object Null]........2.24% [object Undefined]...2.17%
Statistics gathered for the default fc.anything() on v1.11.0 for 100k samples
The proportion of objects is too small and should be increased.
Target would be to have:
Or with Set and Map enabled:
The text was updated successfully, but these errors were encountered:
Statistics have been gathered with the following snippet:
fc.statistics( fc.anything(), v => Object.prototype.toString.call(v), 100000);
Sorry, something went wrong.
Better balance between values produced by fc.anything()
1272e5d
Fixes #324
488f4eb
No branches or pull requests
Today
fc.anything()
produces:Statistics gathered for the default
fc.anything()
on v1.11.0 for 100k samplesThe proportion of objects is too small and should be increased.
Target would be to have:
Or with Set and Map enabled:
The text was updated successfully, but these errors were encountered: