.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 π€πππ