I went through the popular Chai plugins to see how their test suites fair with Chai v4. (Actually, I used the #884 build instead of the current canary release). Overall, we're in good shape. Here are my findings:
Can you also include https://github.com/producthunt/chai-enzyme please ?
@jeromemacias Thanks for the heads up! Just ran the test suite with Chai v4; no issues.
Hey friends! So, is anything left here @meeber?
We were thinking about releasing 4.0.0 and it would be good to avoid issues with any plugins.
All we've gotta do is make sure those PRs are merged when 4.0.0 gets released right?
There have been a number of commits in master since I tested these plugins. And we have a couple more on the way. I don't anticipate any new issues, but will need to test them again with the updated code for due diligence.
Assuming there aren't any additional issues: The plugins listed under "minor issues" already either have a PR ready to merge, or a PR that just needs the version updated once 4.0 is release, and then it can be merged. The plugins listed under "major issues" need more work. @astorije is already aware of some changes that impact chai-immutable. chai-things is broken since before v3.5 due to a conflict with Chai core regarding the any flag; I don't think it's essential that we fix this prior to v4.0 release, but it's something we should look into going forward.
Development on chai-things has mostly stalled - in the current situation the featureset that chai-things really needs is not well catered for with chai's current plugin system. The proposed new system in #585 takes plugins like chai-things into account (hopefully).