vuex-mock-store
vuex-mock-store copied to clipboard
✅Simple and straightforward Vuex Store mock for vue-test-utils
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`^27.4.1` -> `^29.0.3`](https://renovatebot.com/diffs/npm/@types%2fjest/27.4.1/29.0.3) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`^7.32.0` -> `^8.24.0`](https://renovatebot.com/diffs/npm/eslint/7.32.0/8.24.0) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vue](https://togithub.com/vuejs/core/tree/main/packages/vue#readme) ([source](https://togithub.com/vuejs/core)) | [`^2.6.14` -> `^3.2.39`](https://renovatebot.com/diffs/npm/vue/2.6.14/3.2.39) |...
All my components use store like so, `const store = useStore();` in my `jest.setup.js` I have, `const state = { site: { id: 1, }, post: { data: [], },...`...
I'm currently using nuxt with vue-composition-api on my onMount hook, I have store watch. $store provided by Vuex.Store and Store(this mock) is not having the same implementation? Vuex watch API:...
It would be great to also expose some utilities to test the store itself, for example, when testing an action, you may want to write an integration test and therefore...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest)) | [`^29.5.8` -> `^29.5.12`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.8/29.5.12) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [codecov/codecov-action](https://togithub.com/codecov/codecov-action) | action | major | `v3` -> `v4` | ---...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`^8.57.0` -> `^9.2.0`](https://renovatebot.com/diffs/npm/eslint/8.57.0/9.2.0) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vue](https://togithub.com/vuejs/core/tree/main/packages/vue#readme) ([source](https://togithub.com/vuejs/core)) | [`^3.4.25` -> `^3.4.26`](https://renovatebot.com/diffs/npm/vue/3.4.25/3.4.26) |...