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
fix(prefer-to-have-style): Handle case where matcher toBe contains empty string value (#180)
This change purposefully treats an empty string value for certain matchers as
value instead of as null. Prior to this change, the fixer was incorrectly
inferring a .not.
Matchers affected are:
- toBe
- toStrictEqual
- toEqual
Co-authored-by: Matthew Wills <[email protected]>
Co-authored-by: Michaël De Boey <[email protected]>
Co-authored-by: Ben Monro <[email protected]>
0 commit comments