Skip to content

Commit f0c87b2

Browse files
committed
chore: add back tabler transform test
Signed-off-by: ZTL-UwU <[email protected]>
1 parent e4d76e1 commit f0c87b2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

packages/cli/test/utils/transform-icons.test.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@ import { describe, expect, it } from 'vitest'
22
import { transform } from '../../src/utils/transformers'
33

44
describe('transformIcons', () => {
5+
it('transforms tabler icons', async () => {
6+
const result = await transform({
7+
filename: 'app.vue',
8+
raw: `<script lang="ts" setup>
9+
import { Check } from 'lucide-vue-next'
10+
import { Primitive } from 'reka-ui'
11+
</script>
12+
13+
<template>
14+
<Check />
15+
<Primitive />
16+
</template>
17+
`,
18+
config: {
19+
iconLibrary: 'tabler',
20+
},
21+
})
22+
expect(result).toMatchSnapshot()
23+
})
24+
525
it('transforms radix icons', async () => {
626
const result = await transform({
727
filename: 'app.vue',

0 commit comments

Comments
 (0)