You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Oddly, toHaveProperty is incorrectly marking a failure. As you can see in the error details below, it should be passing:
The test passes when I convert the expect from using toHaveProperty to an 'ordinary' expectation:
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
Jest version: v22.1.4
Node version: v9.4.0
npm version: 5.6.0
OS: Linux e902ac7b5568 4.4.0-104-generic #127-Ubuntu SMP Mon Dec 11 12:16:42 UTC 2017 x86_64 GNU/Linux
Jest configuration is vanilla—verbose mode on, and a setup file specified that does app-specific stuff.
The text was updated successfully, but these errors were encountered: