]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
Fix module import for createTestingPinia from @pinia/testing (#756)
authorRijad Zuzo <rijad.zuzo@gmail.com>
Fri, 29 Oct 2021 20:29:53 +0000 (22:29 +0200)
committerGitHub <noreply@github.com>
Fri, 29 Oct 2021 20:29:53 +0000 (22:29 +0200)
packages/docs/cookbook/testing.md

index 91421f01fc288d544b759dec47385e357e2ba0f0..ded6f5807196453391a07f596f1a46b299e76cde 100644 (file)
@@ -76,7 +76,7 @@ And make sure to create a testing pinia in your tests when mounting a component:
 
 ```js
 import { mount } from '@vue/test-utils'
-import { createTestingPinia } from '@pinia/nuxt'
+import { createTestingPinia } from '@pinia/testing'
 
 const wrapper = mount(Counter, {
   global: {