Open leodube-aot opened 11 months ago
@leodube-aot Small comment with regards to item #4, any v-menu, v-select, dialog etc in Vuetify3 is rendered in an overlay wrapper at the dom root. It's quite annoying for scoped styling without slots and in the test environment etc. In the test env you have 2 options (that i'm aware of)..
Description: The DatePicker component has already been upgraded to Vue 3, but the unit tests for the component also need to get upgraded. Some work has already been done towards this on the feature branch, ~but there is an issue with including the DateMixin~ The mixin problem appears to be resolved, however there are still a few other problems with the DatePicker unit tests.
VueWrapper
withVueWrapper<DatePicker>
. You can ignore the error "Cannot use namespace as a type" if it appears.wrapper.vm.$data.dateText
references withwrapper.vm.date
. The data type will also have to be changed from string to Date.await Vue.nextTick()
withawait nextTick()
.displayPicker
will update to true), but it still won't be able to find the v-date-picker component. The v-menu component may need to be stubbed out based on this thread.