Releases: developit/preact-jsx-chai
Releases · developit/preact-jsx-chai
3.0.0
As of 3.0.0, preact-jsx-chai
now requires Preact 10+. Use preact-jsx-chai@2
for older versions.
This release also includes 3 great new assertions courtesy of @billneff79:
expect(..).to.deep.equal(..)
expect(..).to.shallow.include(..)
expect(..).to.be.jsx
See the readme for examples of those.
2.3.1
2.2.1
2.2.0
2.1.0
.contain()
& friends: Fixes a bug where the levels of indentation not matching caused.contain()
to fail erroneously. This allows the diff to be whitespace-insensitive, but still pretty-prints the result. Thanks to @INRIX-mark-guinn for the PR!
2.0.0
1.4.1
- Update preact-render-to-string dependency
1.4.0
1.3.0
- Update to preact-render-to-string
2.3.x
to enable deterministic attribute sorting - Fixes shallow assertions (
.equal()
rather than.deep.equal()
or.eql()
) not working correctly - More tests