@@ -337,7 +337,7 @@ export const appConfig: ApplicationConfig = {
337337 } ) ;
338338
339339 it ( "should create .vscode/mcp.json with igniteui and angular-cli servers when file does not exist" , async ( ) => {
340- await runner . runSchematic ( "ai-config" , { } , tree ) ;
340+ await runner . runSchematic ( "ai-config" , { assistants : [ "vscode" ] } , tree ) ;
341341
342342 expect ( tree . exists ( mcpFilePath ) ) . toBeTruthy ( ) ;
343343 const content = JSON . parse ( tree . readContent ( mcpFilePath ) ) ;
@@ -349,7 +349,7 @@ export const appConfig: ApplicationConfig = {
349349 it ( "should add all three servers to existing .vscode/mcp.json that has no servers" , async ( ) => {
350350 tree . create ( mcpFilePath , JSON . stringify ( { servers : { } } ) ) ;
351351
352- await runner . runSchematic ( "ai-config" , { } , tree ) ;
352+ await runner . runSchematic ( "ai-config" , { assistants : [ "vscode" ] } , tree ) ;
353353
354354 const content = JSON . parse ( tree . readContent ( mcpFilePath ) ) ;
355355 expect ( content . servers [ "igniteui-cli" ] ) . toEqual ( { command : "npx" , args : [ "-y" , "igniteui-cli" , "mcp" ] } ) ;
@@ -364,7 +364,7 @@ export const appConfig: ApplicationConfig = {
364364 }
365365 } ) ) ;
366366
367- await runner . runSchematic ( "ai-config" , { } , tree ) ;
367+ await runner . runSchematic ( "ai-config" , { assistants : [ "vscode" ] } , tree ) ;
368368
369369 const content = JSON . parse ( tree . readContent ( mcpFilePath ) ) ;
370370 expect ( content . servers [ "igniteui-cli" ] ) . toEqual ( { command : "npx" , args : [ "-y" , "igniteui-cli" , "mcp" ] } ) ;
@@ -382,7 +382,7 @@ export const appConfig: ApplicationConfig = {
382382 } ;
383383 tree . create ( mcpFilePath , JSON . stringify ( existing ) ) ;
384384
385- await runner . runSchematic ( "ai-config" , { } , tree ) ;
385+ await runner . runSchematic ( "ai-config" , { assistants : [ "vscode" ] } , tree ) ;
386386
387387 const content = JSON . parse ( tree . readContent ( mcpFilePath ) ) ;
388388 expect ( content ) . toEqual ( existing ) ;
@@ -395,7 +395,7 @@ export const appConfig: ApplicationConfig = {
395395 }
396396 } ) ) ;
397397
398- await runner . runSchematic ( "ai-config" , { } , tree ) ;
398+ await runner . runSchematic ( "ai-config" , { assistants : [ "vscode" ] } , tree ) ;
399399
400400 const content = JSON . parse ( tree . readContent ( mcpFilePath ) ) ;
401401 expect ( content . servers [ "other-server" ] ) . toEqual ( { command : "node" , args : [ "server.js" ] } ) ;
@@ -434,7 +434,7 @@ export const appConfig: ApplicationConfig = {
434434 } ) ;
435435
436436 it ( "should default MCP config to .vscode/mcp.json with servers key" , async ( ) => {
437- await runner . runSchematic ( "ai-config" , { } , tree ) ;
437+ await runner . runSchematic ( "ai-config" , { assistants : [ "vscode" ] } , tree ) ;
438438
439439 const filePath = "/.vscode/mcp.json" ;
440440 expect ( tree . exists ( filePath ) ) . toBeTruthy ( ) ;
@@ -456,7 +456,7 @@ export const appConfig: ApplicationConfig = {
456456 } ) ;
457457
458458 it ( "should write to .mcp.json when assistant is claude-code" , async ( ) => {
459- await runner . runSchematic ( "ai-config" , { assistants : [ "claude-code " ] } , tree ) ;
459+ await runner . runSchematic ( "ai-config" , { assistants : [ "general " ] } , tree ) ;
460460
461461 const filePath = "/.mcp.json" ;
462462 expect ( tree . exists ( filePath ) ) . toBeTruthy ( ) ;
0 commit comments