import { describe, expect, it } from 'vitest'
import { render, screen } from '@testing-library/react'

import Ellipsis from './Ellipsis'

describe('Ellipsis', () => {
  it('renders ellipsis', () => {
    render(<Ellipsis />)

    const ellipsis = screen.getByTestId('ellipsis-component')
    expect(ellipsis).toBeInTheDocument()
  })

  it('applies correct CSS class', () => {
    render(<Ellipsis />)

    const ellipsis = screen.getByTestId('ellipsis-component')
    expect(ellipsis).toHaveClass('ellipsis')
  })
})
