import { describe, expect, it } from 'vitest' import { transform } from '../../src/utils/transformers' describe('transformIcons', () => { it('transforms radix icons', async () => { const result = await transform({ filename: 'app.vue', raw: ` `, config: { iconLibrary: 'radix', }, }) expect(result).toMatchSnapshot() }) it('does not transform lucide icons', async () => { const result = await transform({ filename: 'app.vue', raw: ` `, config: { iconLibrary: 'lucide', }, }) expect(result).toMatchSnapshot() }) })