From 20bcb8d8352c5e6007281608a33c48bbba50901a 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 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'} }) }