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
- Updates the unit tests (spec) of `Switch` so that they can work with
`@vue/test-utils` V2:
- Corrects v-model bindings:
- property: `value` → `modelValue`
- event: `input` → `update:modelValue`
- Replaces `wrapper.contains` with a combination of `find` and
`exists` because `wrapper.contains` no longer exists in
`@vue/test-utils` V2.
- Awaits `wrapper.setProps` to make sure the subsequent tests verify
the updated state.
- Replaces `wrapper.name()` with `wrapper.vm.$options.name` because
`wrapper.name` no longer exists in `@vue/test-utils` V2.
- Replaces the test on `wrapper.isVueInstance()` with presence of
`wrapper.vm` because `wrapper.isVueInstance` no longer exists in
`@vue/test-utils` V2.
- Replaces a legacy async test case with an async function.
- Refreshes the snapshot. I did not see any problems in the updated
snapshot.
issue ntohq#1
When I try to import actions and getters from my store
Getters: Cannot read property 'getters' of undefined
Actions: Cannot read property 'dispatch' of undefined
The text was updated successfully, but these errors were encountered: