don't request files/folders when on an arg for terminal suggest (#240257)

fix #240033
This commit is contained in:
Megan Rogge
2025-02-10 09:33:46 -06:00
committed by GitHub
parent 2e6f7cb183
commit 397e48745c
2 changed files with 6 additions and 5 deletions

View File

@@ -35,9 +35,9 @@ export function createCodeTestSpecs(executable: string): ITestSpec[] {
{ input: `${executable} --merge ./file1 ./file2 ./base |`, expectedResourceRequests: { type: 'files', cwd: testPaths.cwd } },
{ input: `${executable} --goto |`, expectedResourceRequests: { type: 'files', cwd: testPaths.cwd } },
{ input: `${executable} --user-data-dir |`, expectedResourceRequests: { type: 'folders', cwd: testPaths.cwd } },
{ input: `${executable} --profile |`, expectedResourceRequests: { type: 'both', cwd: testPaths.cwd } },
{ input: `${executable} --install-extension |`, expectedResourceRequests: { type: 'both', cwd: testPaths.cwd } },
{ input: `${executable} --uninstall-extension |`, expectedResourceRequests: { type: 'both', cwd: testPaths.cwd } },
{ input: `${executable} --profile |` },
{ input: `${executable} --install-extension |` },
{ input: `${executable} --uninstall-extension |` },
{ input: `${executable} --log |`, expectedCompletions: logOptions },
{ input: `${executable} --sync |`, expectedCompletions: syncOptions },
{ input: `${executable} --extensions-dir |`, expectedResourceRequests: { type: 'folders', cwd: testPaths.cwd } },