chai-fuzzy icon indicating copy to clipboard operation
chai-fuzzy copied to clipboard

camelCase "containOneLike" and "jsonOf" are clumsy looking

Open elliotf opened this issue 12 years ago • 2 comments

Todo: learn how hook into chai's chaining to allow something like:

expect(['a','b','c']).to.have.one.like('a');
expect({}).to.be.json.of({});

elliotf avatar Feb 08 '13 19:02 elliotf

you can peek into the 'route.to' construction of chai-backbone :-)

matthijsgroen avatar Feb 08 '13 22:02 matthijsgroen

Wow, that is rather darn simple. Thank you. :)

elliotf avatar Feb 08 '13 23:02 elliotf