mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-06-29 01:45:54 +08:00
test: 修复所有测试适配 PathEntry,全部通过
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user