You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error TypeError: _vm.$t is not a function appears when I launch testing from my project components. :( I used $t('stringToTranslate') for the translations string to my multilanguage app.
I can't resolve that to get the tests passed, and I've searched different forums and i18n and Jest documentation but haven't found anything...
This error
TypeError: _vm.$t is not a function
appears when I launch testing from my project components. :( I used $t('stringToTranslate') for the translations string to my multilanguage app.I can't resolve that to get the tests passed, and I've searched different forums and i18n and Jest documentation but haven't found anything...
Anyone can help me? Thanks people!
My jest.config.js:
and my test file:
The text was updated successfully, but these errors were encountered: