test(i18n): 校准多语言守卫测试源码引用位置

This commit is contained in:
tianqijiuyun-latiao
2026-06-24 11:17:43 +08:00
parent 7dab6f2e33
commit 2b4beae9df
3 changed files with 7 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import { readFileSync } from 'node:fs';
import { describe, expect, it } from 'vitest';
const source = readFileSync(new URL('./Sidebar.tsx', import.meta.url), 'utf8');
const source = readFileSync(new URL('./sidebar/sidebarLegacyNodeMenu.tsx', import.meta.url), 'utf8');
const locales = ['zh-CN', 'zh-TW', 'en-US', 'ja-JP', 'de-DE', 'ru-RU'] as const;
describe('Sidebar view menu labels i18n', () => {