File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,15 +56,15 @@ describe("getSlashCommands", () => {
5656 ] ) ;
5757 } ) ;
5858
59- it ( "falls back to provider-resolved levels when thinkingLevels is empty (#76482)" , ( ) => {
59+ it ( "falls back to provider-resolved levels when thinkingLevels is empty (#76482)" , async ( ) => {
6060 const commands = getSlashCommands ( {
6161 provider : "anthropic" ,
6262 model : "claude-sonnet-4-6" ,
6363 thinkingLevels : [ ] , // empty from lightweight session row
6464 } ) ;
6565 const think = commands . find ( ( command ) => command . name === "think" ) ;
6666 // Should fall back to listThinkingLevelLabels, not return empty completions
67- const completions = think ?. getArgumentCompletions ?.( "" ) ;
67+ const completions = await think ?. getArgumentCompletions ?.( "" ) ;
6868 expect ( completions ?. length ) . toBeGreaterThan ( 0 ) ;
6969 } ) ;
7070} ) ;
You can’t perform that action at this time.
0 commit comments