Ensure expect() is called with a matcher.
Examples of incorrect code for this rule:
expect()
expect('something')
expect(true).toBeDefinedExample of correct code for this rule:
expect(locator).toHaveText('howdy')
expect('something').toBe('something')
expect(true).toBeDefined(){
"minArgs": 1,
"maxArgs": 2
}Enforces the minimum and maximum number of arguments that expect can take, and
is required to take.
minArgs defaults to 1 while maxArgs deafults to 2 to support custom expect
messages. If you want to enforce expect always or never has a custom message,
you can adjust these two option values to your preference.