import { describe, it, expect } from 'vitest'
import { renderHook } from '@testing-library/react'
import { useThemeMode } from './useThemeMode'

describe('useThemeMode', () => {
  it('should return false when no ConfigProvider is present (light default)', () => {
    const { result } = renderHook(() => useThemeMode())
    expect(result.current).toBe(false)
  })

  it('should return a boolean value', () => {
    const { result } = renderHook(() => useThemeMode())
    expect(typeof result.current).toBe('boolean')
  })
})
