Skip to content

Commit

Permalink
chore: comment [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jan 25, 2025
1 parent 394f655 commit 7279955
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/testing/src/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ export function createTestingPinia({
)
} else if (
typeof createSpy !== 'function' ||
// When users pass vi.fn() instead of vi.fn
// https://github.com/vuejs/pinia/issues/2896
'mockReturnValue' in createSpy
) {
throw new Error(
Expand Down

0 comments on commit 7279955

Please sign in to comment.