Find the Vue.js 2 version .

    Two Sides of Testing Vuex

    Generally components will interact with Vuex by

    Any logic performed by the store, such as mutations and getters, can be tested in isolation. Since Vuex stores are comprised of regular JavaScript functions, they are easily unit tested.