We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dd34fc commit d8822e3Copy full SHA for d8822e3
src/autoSpy.ts
@@ -32,7 +32,9 @@ export function createSpy<Fn extends (...args: any[]) => any>(
32
console.error(
33
`Couldn't detect a global spy (tried jest and sinon). Make sure to provide a "spy.create" option when creating the router mock.`
34
)
35
- throw new Error('No Spy Available')
+ throw new Error(
36
+ 'No Spy Available. See https://github.com/posva/vue-router-mock#testing-libraries'
37
+ )
38
}
39
40
/**
0 commit comments