Skip to content

Commit 4330079

Browse files
committed
test: update tests
1 parent 4201606 commit 4330079

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/nuxt/components/compare/PackageSelector.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('PackageSelector', () => {
5454

5555
const removeButtons = component
5656
.findAll('button')
57-
.filter(b => b.find('.i-lucide\\:circle-x').exists())
57+
.filter(b => b.find('.i-lucide\\:x').exists())
5858
expect(removeButtons.length).toBe(2)
5959
})
6060

@@ -65,9 +65,7 @@ describe('PackageSelector', () => {
6565
},
6666
})
6767

68-
const removeButton = component
69-
.findAll('button')
70-
.find(b => b.find('.i-lucide\\:circle-x').exists())
68+
const removeButton = component.findAll('button').find(b => b.find('.i-lucide\\:x').exists())
7169
await removeButton!.trigger('click')
7270

7371
const emitted = component.emitted('update:modelValue')

0 commit comments

Comments
 (0)