Skip to content

Commit

Permalink
docs: remove mockImplementation() call (nuxt#29669)
Browse files Browse the repository at this point in the history
  • Loading branch information
enkot authored Oct 24, 2024
1 parent 992b359 commit 20bcb8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.getting-started/11.testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
})
}
Expand Down

0 comments on commit 20bcb8d

Please sign in to comment.