Enzyme v2.5.0 Release Notes

Release Date: 2016-10-17 // over 7 years ago
  • Minor Changes

    • pass callback on setState and setProps (#617)

    • ๐Ÿ‘‰ Make ReactWrapper and ShallowWrapper iterable (#594)

    • โž• add .dive() method to shallow (#618)

    Patches

    • Warn if selector contains a pseudo-class (#591)

    • ๐Ÿ”„ change isCompoundSelector to not match prop selector (#595)

    • ๐Ÿ›  fixed hasClassName in case className is not a string and has toString method (#518)

    • Throw if some() is called on a root wrapper (#523)

    • ๐Ÿ›  Fix valid + falsy propvalues (#563)