You are viewing a single thread.
View all comments View context
3 points
*

One pet peeve of mine is testing libraries having toBeTruthy/toBeFalsy matchers, but not toBeTrue and toBeFalse. I get that the latter are no shorter than toBe(true), but if the former are listed in the docs, then people who don’t know the terminology will use those - I’ve seen (past) coworkers do that.

permalink
report
parent
reply

Community stats

  • 16

    Monthly active users

  • 11

    Posts

  • 16

    Comments