style(components): remove unused icon class & autocomplete tweaks (#21565)

* style(components): remove unused icon class & autocomplete tweaks

* fix: review

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
This commit is contained in:
Noblet Ouways
2025-08-01 11:16:15 +02:00
committed by GitHub
parent c1b3ace687
commit 24cfc3685d
3 changed files with 3 additions and 10 deletions

View File

@ -279,9 +279,9 @@ describe('Autocomplete.vue', () => {
vi.runAllTimers()
await nextTick()
expect(document.body.querySelector('.el-icon-loading')).toBeDefined()
expect(document.body.querySelector('.el-icon.is-loading')).toBeDefined()
await wrapper.setProps({ hideLoading: true })
expect(document.body.querySelector('.el-icon-loading')).toBeNull()
expect(document.body.querySelector('.el-icon.is-loading')).toBeNull()
})
test('selectWhenUnmatched', async () => {