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?