I have used the library to mock the vue router behaviour in my test and followed the steps in readme file, in general everything starts working pretty well, I managed to check the wrapper.router object functions, but when I run the test I got this bug that says Cannot read properties of undefined (reading 'push') in this line of my code
router.push('/dashboard').
Reproduction
I have used the library to mock the vue router behaviour in my test and followed the steps in readme file, in general everything starts working pretty well, I managed to check the
wrapper.router
object functions, but when I run the test I got this bug that saysCannot read properties of undefined (reading 'push')
in this line of my coderouter.push('/dashboard')
.Steps to reproduce the behavior
Additional information