| 123456789101112131415161718 |
- import { describe, it, expect } from 'vitest'
- describe('Example Test Suite', () => {
- it('should pass a basic test', () => {
- expect(1 + 1).toBe(2)
- })
- it('should handle strings', () => {
- const str = 'Hello World'
- expect(str).toContain('World')
- })
- it('should handle arrays', () => {
- const arr = [1, 2, 3]
- expect(arr).toHaveLength(3)
- expect(arr).toContain(2)
- })
- })
|