mercredi 15 juillet 2020

Axios error in Nuxtjs in testing with Jest

I want to test my code with jest and when i cal my function in code get a error in this.$axios TypeError: this.$axios is not a function how can I fix it with mock or other way?

Aucun commentaire:

Enregistrer un commentaire