all
config.
Examples of incorrect code for this rule with max: 1
:
test('foo', () => {
expect(1).toBe(1)
expect(2).toBe(2)
})
Examples of correct code for this rule:
test('foo', () => {
expect(1).toBe(1)
})
Default:
5
Maximum number of expect
per test.
{
max: number
}