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(client): Allow to override proxy properties with defineProperty #16598

Merged
merged 1 commit into from Dec 2, 2022

Conversation

SevInf
Copy link
Contributor

@SevInf SevInf commented Dec 2, 2022

Some mocking frameworks use defineProperty for setting up mocking. In
our proxies, we did not work correctly with it and broke mocking for
them.

Fix #16584

Some mocking frameworks use `defineProperty` for setting up mocking. In
our proxies, we did not work correctly with it and broke mocking for
them.

Fix #16584
@SevInf SevInf requested review from a team and millsp and removed request for a team December 2, 2022 13:45
@SevInf SevInf added this to the 4.8.0 milestone Dec 2, 2022
@SevInf SevInf merged commit ec48472 into main Dec 2, 2022
@SevInf SevInf deleted the fix/override-define-property branch December 2, 2022 15:44
jkomyno pushed a commit that referenced this pull request Dec 21, 2022
…#16598)

Some mocking frameworks use `defineProperty` for setting up mocking. In
our proxies, we did not work correctly with it and broke mocking for
them.

Fix #16584
jkomyno pushed a commit that referenced this pull request Dec 21, 2022
…#16598)

Some mocking frameworks use `defineProperty` for setting up mocking. In
our proxies, we did not work correctly with it and broke mocking for
them.

Fix #16584
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4.6.0 and newer does not let me spy using vitest.
2 participants