Add fallback to default completions test suite

This commit is contained in:
Daniel Imms
2024-12-02 12:10:22 -08:00
parent eaad1fd690
commit 48c0e3eb3a

View File

@@ -82,6 +82,14 @@ function createCodeTestSpecs(executable: string): ITestSpec2[] {
}
const testSpecs2: ISuiteSpec[] = [
{
name: 'Fallback to default completions',
completionSpecs: [],
availableCommands: [],
testSpecs: [
{ input: 'fakecommand |', expectedCompletions: [], expectedResourceRequests: { type: 'both', cwd: testCwd } },
]
},
{
name: 'cd',
completionSpecs: cdSpec,