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
test('should not match',()=>{expect([1,2,3,4]).toBeObject();})
What you did:
I tested if an element is an object and printed it to screen.
What happened (please provide anything you think will help):
Output was an array, but the test did not fail.
I expected that an array would fail on toBeObject.
The text was updated successfully, but these errors were encountered:
Bug
package
version: 0.7.2node
version: 8.11.2npm
version: 5.6.0Relevant code or config
What you did:
I tested if an element is an object and printed it to screen.
What happened (please provide anything you think will help):
Output was an array, but the test did not fail.
I expected that an array would fail on toBeObject.
The text was updated successfully, but these errors were encountered: