From a7d33635664ecd4a8d97a882e15d645f3a43648e Mon Sep 17 00:00:00 2001 From: Taras Batenkov Date: Thu, 24 Oct 2024 17:32:23 +0300 Subject: [PATCH] docs: remove `mockImplementation()` call (#29669) --- docs/1.getting-started/11.testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/1.getting-started/11.testing.md b/docs/1.getting-started/11.testing.md index 93b4cb20bf..90622ed243 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'} }) }