import { Text } from 'ink'
import { render } from 'ink-testing-library'
import { describe, expect, it } from 'vitest'

const App = () => {
  return <Text>Hello from Ink CLI!</Text>
}

describe('App', () => {
  it('renders hello message', () => {
    const { lastFrame } = render(<App />)
    expect(lastFrame()).toBe('Hello from Ink CLI!')
  })
})
