enzyme v2.4.0 Release Notes

Release Date: 2016-07-07 // almost 8 years ago
  • Minor Changes

    • ๐Ÿ‘Œ Support all Component Lifecycle methods in ShallowRenderer (behind an experimental flag) (#318)

    • โž• Add an isEmptyRender() method to both ShallowWrapper and ReactWrapper (#339)

    • โž• Add support for batched updates with ShallowRender.simulate (#342)

    Patches

    • Switch to using classList instead of className (#448)

    • ๐Ÿ›  fixes mount().debug() output with mixed children (#476)

    • ๐Ÿ‘Œ Support additional characters in attribute selectors (#412)

    • ๐Ÿ›  fix id selector not working when combined with a tag selector (#387)

    • ๐Ÿ‘Œ Support spaces in attribute selector values (#427)