Login
From:
Vincent Tunru.com
(Uncensored)
subscribe
toBeTruthy() will bite you — use toBe(true)
https://vincenttunru.com/tobetruthy-vs-tobe-true
links
backlinks
Roast topics
Find topics
Find it!
Here’s a short public service announcement for those who write their tests using Jasmine or Protractor: avoid the toBeTruthy() and toBeFalsy() matchers and use toBe(true) and toBe(false) instead.