Skip to content
#

expect

Here are 201 public repositories matching this topic...

emil13
emil13 commented Jan 18, 2018

We just upgraded to React16 and as a consequence updated quite a number of our libraries. In the test cases we started seeing this error:

undefined is not an enzyme wrapper

In assertions.js/isEnzymeWrapper(); expect-enzyme looks for the actual property which used to be present on the Expectation object returned when you called expect(something). expect() no longer returns an Expectation

Improve this page

Add a description, image, and links to the expect topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the expect topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.