Releases: enzymejs/enzyme-matchers
Releases · enzymejs/enzyme-matchers
v7.1.0
toContainMatchingElement
andtoContainMatchingElements
now can take a list of Enzyme wrappers. (@GreenGremlin)- Improved messaging for
toContainMatchingElement
andtoContainMatchingElements
. (@GreenGremlin)
v7.0.2
- Update a security advisory within dependencies. (@tgaff)
- Various package improvements. (@goldensunliu, @mulholio, @kahwee, @tgaff)
- Fixing messaging for toHaveState and toHaveProp. (@GreenGremlin)
v7.0.1
- Fix a jest integration with
toContainMatchingElement
not returning an explicit boolean. (@blainekasten)
7.0.0
🛑 Breaking
- Renamed
toHaveTagName
totoHaveDisplayName
(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.
- This was done because Tag name indicates an HTML entity, but the matcher works with React Components which uses an internalProp
🍾 Improvements
- Add support for unboxed properties for
toMatchElement
. (@blainekasten) - Improve documentation for the entire repo. (@blainekasten)
- Improve internal tests.
6.1.2
- Fix duplicate typescript definition. (@GreenGremelin)
6.1.1
Failed Release
6.1.0
- Added 3 new matchers!
toContainMatchingElement
,toContainMatchingElements
andtoContainMatchingElements
(@GreenGremlin)
6.0.5
- Fix typescript definitions for toMatchElement options argument. (@mayhewluke)