Nuxt Unit Test Cannot read property '$route' of undefined

前端 未结 0 1592
野趣味
野趣味 2020-12-04 23:54

I\'m writing unit tests for my nuxt/vue app, I need to assign an ID param to the router in unit test

I\'m getting ID param in my component like the below



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题