]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: update testing
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 13 Aug 2021 08:19:27 +0000 (10:19 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 13 Aug 2021 08:19:27 +0000 (10:19 +0200)
docs/cookbook/testing.md

index a4e023f7336b2d8b7a3976e3e14d09e0b427a627..ce85098d9cd5d07e80e9241b5f6807c7a2b9976a 100644 (file)
@@ -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