mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-13 08:32:26 +03:00
chore(deps): update vue test utils (#1512)
This commit is contained in:
+2
-2
@@ -13,7 +13,7 @@ export const searchSubmit = (Wrapper, searchText = false) => {
|
||||
if (searchText) {
|
||||
Wrapper.vm.search = searchText
|
||||
}
|
||||
Wrapper.find({ ref: 'search' }).trigger('keydown.enter')
|
||||
Wrapper.findComponent({ ref: 'search' }).trigger('keydown.enter')
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -29,7 +29,7 @@ export const selectTag = async (Wrapper, searchText) => {
|
||||
Wrapper.vm.search = searchText
|
||||
await Wrapper.vm.$nextTick()
|
||||
|
||||
Wrapper.find({ ref: 'search' }).trigger('keydown.enter')
|
||||
Wrapper.findComponent({ ref: 'search' }).trigger('keydown.enter')
|
||||
await Wrapper.vm.$nextTick()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user