test: 修复所有测试适配 PathEntry,全部通过

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 13:59:40 +08:00
parent d6e535aa98
commit 6d711d0f8e
2 changed files with 21 additions and 27 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ describe('savePaths', () => {
beforeEach(() => {
vi.clearAllMocks();
resetStore();
useAppStore.setState({ sysPaths: ['A'], userPaths: ['B'] });
useAppStore.setState({ sysPaths: [pe('A')], userPaths: [pe('B')] });
});
it('保存成功', async () => {