import { describe, test, expect } from 'vitest'
import { render, screen } from '@testing-library/react'
import { ChatThinking } from './chat-thinking'

describe('ChatThinking', () => {
  test('renders default thinking text', () => {
    render(<ChatThinking />)
    expect(screen.getByText('Thinking...')).toBeTruthy()
  })

  test('renders custom text', () => {
    render(<ChatThinking>Processing your request...</ChatThinking>)
    expect(screen.getByText('Processing your request...')).toBeTruthy()
  })
})
