refactor(frontend): import宣言周りのエラーを修正 (#12773)

This commit is contained in:
zyoshoka 2023-12-24 16:16:58 +09:00 committed by GitHub
parent bf45c23098
commit 0009aa332b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
57 changed files with 84 additions and 83 deletions

View file

@ -10,7 +10,7 @@ const fetchMocker = createFetchMock(vi);
fetchMocker.enableMocks();
// Set i18n
import locales from '../../../locales';
import locales from '../../../locales/index.js';
import { updateI18n } from '@/i18n.js';
updateI18n(locales['en-US']);
@ -28,7 +28,7 @@ vi.mock('@/store.js', () => {
media: false,
avatar: false,
urlPreview: false,
code: false,
code: false,
},
},