import { describe, it, expect } from 'vitest' import { cn } from './utils' describe('cn utility', () => { it('should merge class names correctly', () => { expect(cn('foo', 'bar')).toBe('foo bar') }) it('should handle conditional classes', () => { expect(cn('foo', false && 'bar', 'baz')).toBe('foo baz') }) it('should merge tailwind classes with proper precedence', () => { expect(cn('px-2', 'px-4')).toBe('px-4') }) })