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

toHaveProperty should not rely on input prototype method #3409

Closed
m1gu3l opened this issue Apr 28, 2017 · 1 comment · Fixed by #3410
Closed

toHaveProperty should not rely on input prototype method #3409

m1gu3l opened this issue Apr 28, 2017 · 1 comment · Fixed by #3410
Labels

Comments

@m1gu3l
Copy link

m1gu3l commented Apr 28, 2017

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
toHaveProperty throws error when checking input without Object prototype
https://repl.it/H6Do/0

What is the expected behavior?
toHaveProperty should not rely on input prototype method

Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Jest v19.0.2

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants