@@ -22,13 +22,13 @@ describe("config", () => {
2222 const config = await loadGlobalConfig ( ) ;
2323 expect ( config . commands ) . toBeDefined ( ) ;
2424 expect ( config . commands ?. copilot ) . toBeDefined ( ) ;
25- expect ( config . commands ?. copilot . $1 ) . toBe ( "prompt " ) ;
25+ expect ( config . commands ?. copilot . $1 ) . toBe ( "interactive " ) ;
2626 } ) ;
2727
2828 test ( "getCommandDefaults returns defaults for copilot" , async ( ) => {
2929 const defaults = await getCommandDefaults ( "copilot" ) ;
3030 expect ( defaults ) . toBeDefined ( ) ;
31- expect ( defaults ?. $1 ) . toBe ( "prompt " ) ;
31+ expect ( defaults ?. $1 ) . toBe ( "interactive " ) ;
3232 } ) ;
3333
3434 test ( "getCommandDefaults returns undefined for unknown command" , async ( ) => {
@@ -184,7 +184,7 @@ describe("loadFullConfig", () => {
184184
185185 test ( "includes built-in defaults when no project config" , async ( ) => {
186186 const config = await loadFullConfig ( testDir ) ;
187- expect ( config . commands ?. copilot ?. $1 ) . toBe ( "prompt " ) ;
187+ expect ( config . commands ?. copilot ?. $1 ) . toBe ( "interactive " ) ;
188188 } ) ;
189189
190190 test ( "project config overrides global config" , async ( ) => {
@@ -212,7 +212,7 @@ describe("loadFullConfig", () => {
212212
213213 const config = await loadFullConfig ( testDir ) ;
214214 // Built-in defaults preserved
215- expect ( config . commands ?. copilot ?. $1 ) . toBe ( "prompt " ) ;
215+ expect ( config . commands ?. copilot ?. $1 ) . toBe ( "interactive " ) ;
216216 // New command added
217217 expect ( config . commands ?. [ "my-tool" ] ?. $1 ) . toBe ( "body" ) ;
218218 expect ( config . commands ?. [ "my-tool" ] ?. verbose ) . toBe ( true ) ;
@@ -229,7 +229,7 @@ describe("loadFullConfig", () => {
229229
230230 const config = await loadFullConfig ( testDir ) ;
231231 // Built-in default preserved
232- expect ( config . commands ?. copilot ?. $1 ) . toBe ( "prompt " ) ;
232+ expect ( config . commands ?. copilot ?. $1 ) . toBe ( "interactive " ) ;
233233 // New setting added
234234 expect ( config . commands ?. copilot ?. verbose ) . toBe ( true ) ;
235235 } ) ;
0 commit comments