]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commit
refactor: use set from composition-api instead of pinia.Vue
authorEduardo San Martin Morote <posva13@gmail.com>
Sat, 15 May 2021 11:39:41 +0000 (13:39 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Sat, 15 May 2021 11:39:41 +0000 (13:39 +0200)
commit3a1fc5bcc1797291c07827ba1d0a630afdab22a7
treec510d5309faf527ed18947a833037e2e5d70b32c
parentd808f41e0cf30a89c03c78a8398d9f13d06fb346
refactor: use set from composition-api instead of pinia.Vue

This effectively remove the need to do pinia.Vue = Vue in tests, making it easier to test components using pinia, it also removes pinia.Vue which was internal even though it wasnt marked as
15 files changed:
__tests__/actions.spec.ts
__tests__/getters.spec.ts
__tests__/mapHelpers.spec.ts
__tests__/onAction.spec.ts
__tests__/rootState.spec.ts
__tests__/state.spec.ts
__tests__/store.patch.spec.ts
__tests__/store.spec.ts
__tests__/storePlugins.spec.ts
__tests__/subscriptions.spec.ts
nuxt/plugin.js
src/devtools.ts
src/plugin.ts
src/rootStore.ts
src/store.ts