You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article puts forth a very strong argument to using toEqual() over toBe(). So this new rule would be triggered if code is using toBe() instead of toEqual() for comparing things like strings or plain objects. If the prefer-strict-boolean-matchers is enabled, it would NOT complain when toBe() is used with true or false inside of it, otherwise it could.