0.2.1 • Published 3 years ago
chai-equal-for-long-text v0.2.1
chai-equal-for-long-text
I needed something a little better for long strings and couldn't find anything. If you find something better, let me know. 🙂
Disclaimer?
Assertion is only done on strings greater than 20 characters. Otherwise this calls the original method.
Usage
import equal from 'chai-equal-for-long-text'
chai.use(equal);
License
MIT
0.2.1
3 years ago