From: Eduardo San Martin Morote Date: Fri, 13 Aug 2021 08:19:27 +0000 (+0200) Subject: docs: update testing X-Git-Tag: @pinia/nuxt@0.0.1~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d376eaa2b0d05583ad03c407437137187d02fd8;p=thirdparty%2Fvuejs%2Fpinia.git docs: update testing --- diff --git a/docs/cookbook/testing.md b/docs/cookbook/testing.md index a4e023f7..ce85098d 100644 --- a/docs/cookbook/testing.md +++ b/docs/cookbook/testing.md @@ -68,7 +68,7 @@ beforeEach(() => { ## Unit testing components -Coming soon with `createTestingPinia()`... +Coming soon with `createTestingPinia()`... But if you are adventurous and want to give it a try, check the [existing tests for it](https://github.com/posva/pinia/blob/v2/__tests__/testing.spec.ts#L36). Note in future releases, you will have to install `@pinia/testing` (which doesn't exist yet) and adapt the imports. Make sure to keep an eye on releases to be notified when this happen! ## E2E tests