📝 Enforce having hooks before any test cases.
all config.
// bad
describe('foo', () => {
it('bar', () => {
// ...
})
beforeEach(() => {
// ...
})
})
// good
describe('foo', () => {
beforeEach(() => {
// ...
})
it('bar', () => {
// ...
})
})