all
config.
incorrect code for this rule:
import { test } from 'vitest'
test('foo', () => {
return expect(1).toBe(1)
})
correct code for this rule:
import { test } from 'vitest'
test('foo', () => {
expect(1).toBe(1)
})
all
config.
incorrect code for this rule:
import { test } from 'vitest'
test('foo', () => {
return expect(1).toBe(1)
})
correct code for this rule:
import { test } from 'vitest'
test('foo', () => {
expect(1).toBe(1)
})