Vue Testing Library with Jest: Prototype method is not a function

前端 未结 0 1059
猫巷女王i
猫巷女王i 2021-01-13 15:23

I have a vue cli project and added a method on vue prototype which works fine in component.

While trying to test that component, i get this message - "TypeError:

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