fix: add missing createI18n to vue-i18n mock in AssetsSidebarListView test

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jin Yi
2026-03-27 14:30:14 +09:00
parent f75cf28c87
commit 733b2a259c

View File

@@ -10,6 +10,11 @@ import AssetsSidebarListView from './AssetsSidebarListView.vue'
vi.mock('vue-i18n', () => ({
useI18n: () => ({
t: (key: string) => key
}),
createI18n: () => ({
global: {
t: (key: string) => key
}
})
}))