-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
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
Bug: Uncaught RangeError: Chance: Min cannot be greater than Max. #159
Comments
Changes I made to fix this issue:
|
Thanks for the report. I agree with you fix, can you open a pull request ? |
Done in #160. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting Uncaught RangeError with Chance using gremlins.js in Cypress. Solution seems simple to implement.
gremlins.js
version: 2.0.1node
version: 12.9.0npm
(oryarn
) version: 6.10.2Steps To Reproduce
The current behavior
The expected behavior
No error.
Suggested solution:
Probably quite similar to #27 and #47 .
Culprit is here:
Solution: Use
||
orMath.max(document.documentElement.clientWidth - 1, 0)
The text was updated successfully, but these errors were encountered: