How to Handle Nuxt Auth Lib this.$auth.loginWith(…).then is not a function

后端 未结 0 1213
礼貌的吻别
礼貌的吻别 2021-01-21 08:45

im using Jest to test my Nuxt App, i got this error:

this.$auth.loginWith(...).then is not a function

how to cover this code with Jest?

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