Open jamestalmage opened 8 years ago
Not sure about this. It's not that readable. It took me a bit until I got it.
Can you provide an example of how it would look with a more advanced assertion like:
const a = /foo/;
const b = 'bar';
const c = 'baz';
t.ok(a.test(b) || b === c);