Enzyme v1.5.0 Release Notes

Release Date: 2016-02-02 // about 8 years ago
  • Minor Changes

    • ➕ Add attachTo option to mount to mount to a specific element (#160)

    • ➕ Add .debug() method to ReactWrapper (#158)

    • ➕ Add .mount() and .unmount() APIs to ReactWrapper (#155)

    • ➕ Add .render() method to ReactWrapper (#156)

    • 👍 Allow .contains() to accept an array of nodes (#154)

    • ➕ Add .context() method to ReactWrapper and ShallowWrapper (#152)

    Patches

    • 🛠 Fixed some behavior with .contains() matching on strings (#148)

    • 🛠 Fixed .debug()'s output for numeric children (#149)

    • 📚 Documentation fixes

    • ⚡️ Update versions of dependencies