Mocking $route in Jest (Vue)

前端 未结 0 912
情书的邮戳
情书的邮戳 2020-12-02 23:02

I\'ve looked at the docs and found examples here, e.g.

const $route = {
    fullPath: \'full/path\'
}
const wrapper = m         


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