Skip to content

chai plugin to provide a little more detail when long strings don't match

Notifications You must be signed in to change notification settings

aakoch/chai-equal-for-long-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

npm i chai-equal-for-long-text

Usage

import equal from 'chai-equal-for-long-text'

chai.use(equal);

License

MIT

About

chai plugin to provide a little more detail when long strings don't match

Resources

Stars

Watchers

Forks

Packages

No packages published