🛑 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.