You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 8, 2025. It is now read-only.
As outlined in vuejs/vue-test-utils#1137 the reason is due to @vue/test-utils running in sync mode which doesn't work well with how Vue updates the DOM in a batch.
When adding Vuetify to a project via the CLI, I suggest that any entry of @vue/test-utils be upgraded to >= 1.0.0-beta.30 so that sync mode is no longer present. This will have the consequence of forcing unit tests to await DOM updates.
Environment
Vuetify Version: 2.2.12
Vue Version: 2.6.10
Steps to reproduce
@vue/test-utils
<1.0.0-beta.30
Expected behaviour
npm run test:unit
runs successfully.Actual behaviour
npm run test:unit
tests will fail withTypeError: Cannot read property '$scopedSlots' of undefined
error message.The text was updated successfully, but these errors were encountered: