.toBe(true) or .toBeTruthy()
I was reviewing a feature on GitHub and noticed my colleague sometimes used .toBe(true) and other times .toBeTruthy(). This got me wondering, are they actually different? After a quick search, I found out they are โ and it's all in their names ๐
. In...
blog.majidz.com1 min read
Ahmed Nasser
Frontend Engineer @Instabug ๐จโ๐ป
Great article, keep rockinggg ๐ค๐๐๐