-
-
Notifications
You must be signed in to change notification settings - Fork 771
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
Cannot stub Array.prototype.sort
#1796
Comments
I am sure the fix to this is very similar to #1521. If you grep the source for '.sort()' you should find it quickly. A PR is most welcome ;-) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I think Phred fixed this in in #1826. Could you verify? |
Verified. Still present :( |
This was fixed in c2c7814
The fix for this has been published to NPM in |
This was fixed in c2c7814
Describe the bug
Applying stub to
Array.prototype.sort
results in RangeError: Maximum call stack size exceeded.To Reproduce
Run test like this:
Expected behavior
Test should pass.
Actual behavior
Falls with error:
Context:
Additional context
Looks similar to: #1521
The text was updated successfully, but these errors were encountered: