diff --git a/packages/docs/cookbook/testing.md b/packages/docs/cookbook/testing.md index 9787e8e8fc..d125daa84c 100644 --- a/packages/docs/cookbook/testing.md +++ b/packages/docs/cookbook/testing.md @@ -19,9 +19,9 @@ import { useCounterStore } from '../src/stores/counter' describe('Counter Store', () => { beforeEach(() => { - // creates a fresh pinia and make it active so it's automatically picked - // up by any useStore() call without having to pass it to it: - // `useStore(pinia)` + // creates a fresh pinia and makes it active + // so it's automatically picked up by any useStore() call + // without having to pass it to it: `useStore(pinia)` setActivePinia(createPinia()) })