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

feat: allow using "new" keyword with a spy, respect new.target #31

Merged
merged 2 commits into from
Feb 7, 2023

Conversation

sheremet-va
Copy link
Member

Fixes #29

@sheremet-va sheremet-va changed the title fix: respect new.target fix: allow using "new" keyword with a spy, respect new.target Feb 7, 2023
@sheremet-va sheremet-va changed the title fix: allow using "new" keyword with a spy, respect new.target feat: allow using "new" keyword with a spy, respect new.target Feb 7, 2023
@sheremet-va sheremet-va merged commit acccf30 into main Feb 7, 2023
@sheremet-va sheremet-va deleted the fix/new.target branch February 7, 2023 05:13
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.

The new.target is undefined even if spy is created with new keyword
1 participant