Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buefy Modal mapGetters and mapActions problem #68

Closed
DavideCarvalho opened this issue May 17, 2017 · 1 comment
Closed

Buefy Modal mapGetters and mapActions problem #68

DavideCarvalho opened this issue May 17, 2017 · 1 comment

Comments

@DavideCarvalho
Copy link

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

@rafaberaldo
Copy link
Member

Fix available in next release, see #55

kikuomax added a commit to kikuomax/buefy that referenced this issue Sep 18, 2023
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants