all
config.
This rule aims to prevent conditional tests.
Examples of incorrect code for this rule:
test('my test', () => {
if (true) {
doTheThing()
}
})
Examples of correct code for this rule:
test('my test', () => {
expect(true).toBe(true)
})