Skip to content

Commit 4277b19

Browse files
committed
fix: tests
1 parent e7739b7 commit 4277b19

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/nuxt/components/LicenseDisplay.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ describe('LicenseDisplay', () => {
2727
const component = await mountSuspended(LicenseDisplay, {
2828
props: { license: 'MIT' },
2929
})
30-
const icon = component.find('.i-lucide:scale')
30+
const icon = component.find('.i-lucide\\:scale')
3131
expect(icon.exists()).toBe(true)
3232
})
3333

3434
it('does not show scales icon for invalid license', async () => {
3535
const component = await mountSuspended(LicenseDisplay, {
3636
props: { license: 'CustomLicense' },
3737
})
38-
const icon = component.find('.i-lucide:scale')
38+
const icon = component.find('.i-lucide\\:scale')
3939
expect(icon.exists()).toBe(false)
4040
})
4141
})
@@ -105,7 +105,7 @@ describe('LicenseDisplay', () => {
105105
const component = await mountSuspended(LicenseDisplay, {
106106
props: { license: 'CustomLicense OR MIT' },
107107
})
108-
const icon = component.find('.i-lucide:scale')
108+
const icon = component.find('.i-lucide\\:scale')
109109
expect(icon.exists()).toBe(true)
110110
})
111111
})

test/nuxt/components/VersionSelector.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ describe('VersionSelector', () => {
544544

545545
// Should show loading spinner (motion-safe:animate-spin is applied)
546546
await vi.waitFor(() => {
547-
const spinner = component.find('.i-lucide\\:undo-2')
547+
const spinner = component.find('.i-svg-spinners\\:ring-resize')
548548
expect(spinner.exists()).toBe(true)
549549
})
550550

0 commit comments

Comments
 (0)