docs: remove mockImplementation() call (#29669)

This commit is contained in:
Taras Batenkov 2024-10-24 17:32:23 +03:00 committed by GitHub
parent 992b3595c8
commit 20bcb8d835
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -289,7 +289,7 @@ import { mockNuxtImport } from '@nuxt/test-utils/runtime'
const { useStorageMock } = vi.hoisted(() => { const { useStorageMock } = vi.hoisted(() => {
return { return {
useStorageMock: vi.fn().mockImplementation(() => { useStorageMock: vi.fn(() => {
return { value: 'mocked storage'} return { value: 'mocked storage'}
}) })
} }