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

✨ Allow getters to be reconfigured #420

Open
wants to merge 1 commit into
base: vue2-vuex3
Choose a base branch
from

Commits on Jun 8, 2023

  1. ✨ Allow getters to be reconfigured

    At the moment, getters cannot be stubbed in tests, because they're
    defined as unconfigurable.
    
    This change adds a `configurableGetters` option to the `Module` options,
    which is `false` by default (keeps existing behaviour).
    
    If this flag is set to `true`, we allow getters to be reconfigured,
    which lets us stub them.
    alecgibson committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    98571e5 View commit details
    Browse the repository at this point in the history