📝 Disallow alias methods.
all config.
🔧 This rule is automatically fixable by the --fix CLI option.
This rule disallows alias methods and forces the use of the original method.
Examples of incorrect code for this rule:
expect(a).toBeCalled()expect(a).toBeCalledTimes(1)Examples of correct code for this rule:
expect(a).toHaveBeenCalled()expect(a).toHaveBeenCalledTimes(1)If you don't care about alias methods, you can disable this rule.