mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs: remove mockImplementation()
call (#29669)
This commit is contained in:
parent
992b3595c8
commit
20bcb8d835
@ -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'}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user