Skip to content
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

Fix sinon.stub on window object with latest sinon #535

Merged
merged 1 commit into from Jun 13, 2023
Merged

Conversation

simonihmig
Copy link
Owner

The proxy did not support all handlers like getOwnPropertyDescriptor and defineProperty, which did not play nicely with the latest sinon versions. Fixes #478

The proxy did not support all handlers like `getOwnPropertyDescriptor` and `defineProperty`, which did not play nicely with the latest sinon versions. Fixes #478
@simonihmig simonihmig added the bug label Jun 13, 2023
@simonihmig simonihmig merged commit 23c0d5d into master Jun 13, 2023
10 checks passed
@simonihmig simonihmig deleted the fix-sinon branch June 13, 2023 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can no longer stub window methods using sinon
1 participant