Enzyme needs to be upgraded to support react@16. In upgrading I found that using jest's snapshot feature would greatly improve several of the tests that were in place. I've changed these tests to use snapshots and added enzyme-to-json to support snapshot testing with enzyme wrappers.
Fixes #21179 - Upgrade to enzyme@3.0.0
Enzyme needs to be upgraded to support react@16. In upgrading I
found that using jest's snapshot feature would greatly improve
several of the tests that were in place. I've changed these
tests to use snapshots and added enzyme-to-json to support
snapshot testing with enzyme wrappers.
http://projects.theforeman.org/issues/21179