docs(picker): name both pickers in the manual and cover the clone picker in the New folder test

This commit is contained in:
Devvyn committed 2026-11-05 08:15:40 +08:00
1 parent cddfb48ea6
commit b89de128e1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ describe('PathPicker New folder', () => {
return sessionUiJs.slice(start, sessionUiJs.indexOf('PathPicker.open', start) + 400);
};
expect(block('openLinkCasePathPicker')).toContain('allowNewFolder: true');
for (const other of ['openDockerWorkspacePathPicker', 'openDockerWorkdirPicker']) {
for (const other of ['openDockerWorkspacePathPicker', 'openDockerWorkdirPicker', 'openCloneCasePathPicker']) {
expect(block(other), other).not.toContain('allowNewFolder');
}
});