Enzyme is on the latest version to allow easier transition to later versions of React. Note that cDM is automatically called on shallow rendering in this version, thus allowing for quicker test runs since the needs for mounting is greatly minimized.
Tests were updated to allow coverage to remain the same. Notable breaking changes seemed to be that .get() returns the actual react element as opposed to an enzyme-wrapper, but other than that, I didn't see anything else.
For a complete reference, please refer to the migration docs
Enzyme is on the latest version to allow easier transition to later versions of React. Note that cDM is automatically called on shallow rendering in this version, thus allowing for quicker test runs since the needs for
mount
ing is greatly minimized.Tests were updated to allow coverage to remain the same. Notable breaking changes seemed to be that
.get()
returns the actual react element as opposed to an enzyme-wrapper, but other than that, I didn't see anything else.For a complete reference, please refer to the migration docs