all
config.
This rule aims to prevent duplicate hooks and teardown hooks.
Examples of incorrect code for this rule:
test('foo', () => {
beforeEach(() => {})
beforeEach(() => {}) // duplicate beforeEach
})
Examples of correct code for this rule:
test('foo', () => {
beforeEach(() => {})
})