Vuex is used to manage state in a Vue application. Components dispatch actions that commit mutations to update the central state object. Computed properties are used to retrieve parts of the state and watch for changes. Two-way bindings with v-model trigger mutations to update state values. Maps are used to generate computed properties for multiple state properties.
![Vue.jsのユニットテスト](https://cdn-ak-scissors.b.st-hatena.com/image/square/8756778703bc07c004f57e6a227a09bbef6fac57/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fvue-unit-testing-171117090429-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)