This commit is contained in:
pa
2026-03-09 14:24:00 +09:00
parent c26c562d0e
commit d2d3dc8f13
32 changed files with 1128 additions and 801 deletions

View File

@@ -6,10 +6,11 @@ import { mount } from '@vue/test-utils';
vi.mock('vue-i18n', () => ({
useI18n: () => ({
t: (key, params) => (params ? `${key}:${JSON.stringify(params)}` : key)
t: (key, params) => (params ? `${key}:${JSON.stringify(params)}` : key),
locale: require('vue').ref('en')
}),
createI18n: () => ({
global: { t: (key) => key },
global: { t: (key) => key , locale: require('vue').ref('en') },
install: vi.fn()
})
}));