2
0
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:
Jeff Sagal
2021-10-06 09:38:50 -07:00
committed by GitHub
parent bbbac18cf9
commit da0bcb0929
14 changed files with 92 additions and 54 deletions
+2 -2
View File
@@ -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()
}