[feature] Add support for enzyme ^3.0.0 (which implies React 16 support)
[feature] Support an array of nodes in contain
[breaking] If you are using cheerio 1.0, there's' a possibility you will have
to wrap your React components with a div wrapper.
< div id = 'parent' >
< div id = 'child' / >
< div >
// Enzyme 2
wrapper . find ( '#parent' ) . length //=> 1
wrapper . is ( '#parent' ) //=> false
// Enzyme 3
wrapper . find ( '#parent' ) . length //=> 0
wrapper . is ( '#parent' ) //=> true
The new version returns a cheerio wrapper with a type of tag that IS the parent element .
Before it returned a wrapper with a type root that contains the parent element .
[fix] Add support for components with a symbol as display name
[feature] Only show one-level-deep components in error messages when shallow rendering
[feature] Add support for chai ^4.0.0
[fix] Protect against duplicate plugin use
[fix] Don't repeat enzyme's peer dependencies
[breaking] Upgrade Enzyme dependency to 2.3.x or above
[feature] add containMatchingElement support
[fix] Handle .exactly(0)
[fix] Add support for undefined argument values
[fix] React 15.4.x support
[fix] Fix cross-browser issue when using text assertions
[fix] Delegate to Enzyme wrapper .is
for match assertions
[feature] props assertion
[feature] add contain/include support for html assertions
[feature] type assertion
0.5.2 / September 30 2016
[fix] Loosen up cheerio peer dependency
[fix] Add exactly
to TOC
[fix] Bump html dependency for less deprecation warnings
[feature] Add textarea support for contain assertions
[feature] Add select support for value assertions
[feature] Improve failure message for contain assertions
[fix] Truthy-ness values
[fix] Support React 15.0.x
[fix] Fixes a bug in IE, because function.name is not available
[fix] Loosen up peer dependencies
[fix] Make the assertion messages lazy for shallow rendering
[feature] exactly
matcher
[fix] Loosen cheerio dependency
[feature] Add support for components that return null
[feature] Throw if the passed objects are not an enzyme wrapper
[fix] Don't export to Babel's named default
[fix] Don't create el in constructor for shallow
[fix] Make the assertion messages lazy
[feature] Introduce aliases of empty/exist
[feature] tagName
matcher