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
Although I got another issues with the new Update :D
In the past we have configured a global i18n mock/instance in the setup.ts file of vitest.
Currently this throws a duplicated init warning for the t function, but if I remove this, I got your error, so this might help?
Hello,
I've been fighting for a day about the i18n mock with vitest.
Before updating to v9, I make a global mock as follows in
vitest.setup.ts
But since the update, I've tried a number of solutions to make an i18n mock, but I've never succeeded.
I keep getting the following error:
knowing that in my component view. I use the following format:
const { t } = useI18n()
and that my
nuxt.config.ts
isis as follows:
Do you have any solutions ?
The text was updated successfully, but these errors were encountered: