Files
996403fb8a feat(junit-reporter): add jest-junit-compatible naming options (#10189)
Co-authored-by: neumaennl <[email protected]>
Co-authored-by: Martin Neumann <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-04-29 10:03:21 +02:00

20 lines
388 B
TypeScript

import { describe, expect, it } from 'vitest'
describe('MyModule', () => {
describe('feature A', () => {
it('works correctly', () => {
expect(1 + 1).toBe(2)
})
it('handles edge case', () => {
expect(0).toBe(0)
})
})
it('top-level in describe', () => {
expect(true).toBe(true)
})
})
it('top-level test', () => {
expect('hello').toBe('hello')
})