algolia / expect-jsx

✅ toEqualJSX for expect assertion library
MIT License
409 stars 17 forks source link

Link to chai plugin #9

Closed epsitec closed 9 years ago

epsitec commented 9 years ago

An equivalent plugin for the chai framework is available as chai-equal-jsx. It is using react-element-to-jsx-string under the Hood and exports equalJSX and includeJSX. You might want to provide a reference to it.

vvo commented 9 years ago

@epsitec Works for me, send in a pull request Ill merge it.

There's also https://www.npmjs.com/package/chai-equal-jsx https://www.npmjs.com/package/chai-jsx https://www.npmjs.com/package/tape-jsx-equals

all built on react-element-to-jsx-string

vvo commented 9 years ago

was merged