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
I'm not sure if enough of a clear gain here to make it worth having a whole new rule for this (the failure message is very similar, and it could be more consistent depending on the surrounding code), given you could use no-restricted-syntax to enforce this using CallExpression[callee.property.name='toHaveBeenCalledTimes'][arguments.length=1][arguments.0.value=0] 🤔
Reviving this as I'm seeing a lot of areas of this happening within a codebase - would be nice to have an autofixable rule here instead of flagging restricted syntax.
The text was updated successfully, but these errors were encountered: