Skip to content

Releases: enzymejs/enzyme-matchers

v7.1.0

06 Aug 04:06
Compare
Choose a tag to compare
  • toContainMatchingElement and toContainMatchingElements now can take a list of Enzyme wrappers. (@GreenGremlin)
  • Improved messaging for toContainMatchingElement and toContainMatchingElements. (@GreenGremlin)

v7.0.2

06 Aug 03:47
Compare
Choose a tag to compare

v7.0.1

06 Aug 03:47
Compare
Choose a tag to compare
  • Fix a jest integration with toContainMatchingElement not returning an explicit boolean. (@blainekasten)

7.0.0

08 Oct 15:15
Compare
Choose a tag to compare

🛑 Breaking

  • Renamed toHaveTagName to toHaveDisplayName (GreenGremlin)
    • This was done because Tag name indicates an HTML entity, but the matcher works with React Components which uses an internalProp displayName
    • When updating to 7.0.0 you should be able to just do a simple search and replace for this matcher across your codebase.

🍾 Improvements

  • Add support for unboxed properties for toMatchElement. (@blainekasten)
  • Improve documentation for the entire repo. (@blainekasten)
  • Improve internal tests.

6.1.2

08 Oct 15:16
Compare
Choose a tag to compare
  • Fix duplicate typescript definition. (@GreenGremelin)

6.1.1

20 Sep 19:13
Compare
Choose a tag to compare

Failed Release

6.1.0

20 Sep 19:09
Compare
Choose a tag to compare
  • Added 3 new matchers! toContainMatchingElement, toContainMatchingElements and toContainMatchingElements (@GreenGremlin)

6.0.5

20 Sep 16:25
Compare
Choose a tag to compare
  • Fix typescript definitions for toMatchElement options argument. (@mayhewluke)

6.0.4

27 Aug 15:51
Compare
Choose a tag to compare
  • Fix global typescript definitions for jest-environment-enzyme. (@vkrol)

6.0.3

08 Aug 18:13
Compare
Choose a tag to compare
  • Add global typescript definitions for jest-environment-enzyme. (@astorije)
  • Allow multiline strings for toHaveHTML. (@astorije)
  • Print local error messages when jest-environment-enzyme has an issue. (@h.ayabe)