diff --git a/docs/1.getting-started/11.testing.md b/docs/1.getting-started/11.testing.md index defd522f92..60d0b8db18 100644 --- a/docs/1.getting-started/11.testing.md +++ b/docs/1.getting-started/11.testing.md @@ -289,7 +289,7 @@ import { mockNuxtImport } from '@nuxt/test-utils/runtime' const { useStorageMock } = vi.hoisted(() => { return { - useStorageMock: vi.fn().mockImplementation(() => { + useStorageMock: vi.fn(() => { return { value: 'mocked storage'} }) }