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

describe('<TimeseriesSkeleton>', () => {
  it('renders without crashing', () => {
    const { container } = render(<TimeseriesSkeleton />)
    expect(container.firstChild).not.toBeNull()
    expect(
      container.querySelectorAll('.MuiSkeleton-root').length,
    ).toBeGreaterThan(0)
  })
})
