I needed something a little better for long strings and couldn't find anything. If you find something better, let me know. 🙂
Assertion is only done on strings greater than 20 characters. Otherwise this calls the original method.
npm i chai-equal-for-long-text
import equal from 'chai-equal-for-long-text'
chai.use(equal);
MIT