mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-26 04:27:26 +08:00
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:
@ -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 () => {
|
||||
|
Reference in New Issue
Block a user