import { describe, it, expect } from 'vitest'
import { cn } from '../utils'

describe('cn utils', () => {
    it('merges tailwind classes correctly', () => {
        expect(cn('px-2 py-2', 'px-4')).toBe('py-2 px-4')
    })

    it('handles conditional classes', () => {
        expect(cn('base', true && 'is-true', false && 'is-false')).toBe('base is-true')
    })
})
