From: Eduardo San Martin Morote Date: Wed, 3 Mar 2021 12:45:40 +0000 (+0100) Subject: test: remove unecessary setActivePinia X-Git-Tag: v2.0.0-alpha.8~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d6644529af423f20d5c12992eccff8075f32dcf;p=thirdparty%2Fvuejs%2Fpinia.git test: remove unecessary setActivePinia --- diff --git a/__tests__/lifespan.spec.ts b/__tests__/lifespan.spec.ts index 212da3d8..a299b346 100644 --- a/__tests__/lifespan.spec.ts +++ b/__tests__/lifespan.spec.ts @@ -1,4 +1,4 @@ -import { createPinia, defineStore, setActivePinia } from '../src' +import { createPinia, defineStore } from '../src' import { mount } from '@vue/test-utils' import { watch, nextTick, defineComponent } from 'vue' @@ -29,7 +29,6 @@ describe('Store Lifespan', () => { it('state reactivity outlives component life', async () => { const useStore = defineMyStore() - setActivePinia(createPinia()) const inComponentWatch = jest.fn()