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

TypeError when comparing objects without constructor #6768

Closed
sirian opened this issue Jul 27, 2018 · 3 comments
Closed

TypeError when comparing objects without constructor #6768

sirian opened this issue Jul 27, 2018 · 3 comments

Comments

@sirian
Copy link

sirian commented Jul 27, 2018

🐛 Bug Report

expect(Object.create(null)).toStrictEqual({});
// TypeError: Cannot read property 'name' of undefined
@rickhanlonii
Copy link
Member

Hey @sirian, thanks for reporting. This appears to be fixed on latest:

screenshot 2018-11-25 23 45 36

@SimenB
Copy link
Member

SimenB commented Nov 26, 2018

#7005

@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 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants