@@ -68,6 +68,7 @@ describe('End-to-End Ruler CLI', () => {
6868 'config.toml' ,
6969 ) ;
7070 const juniePath = path . join ( projectRoot , '.junie' , 'guidelines.md' ) ;
71+ const junieMcpPath = path . join ( projectRoot , '.junie' , 'mcp' , 'mcp.json' ) ;
7172
7273 await Promise . all ( [
7374 expect ( fs . readFile ( claudePath , 'utf8' ) ) . resolves . toContain ( 'Rule B' ) ,
@@ -79,6 +80,7 @@ describe('End-to-End Ruler CLI', () => {
7980 fs . readFile ( openHandsInstructionsPath , 'utf8' ) ,
8081 ) . resolves . toContain ( 'Rule A' ) ,
8182 expect ( fs . readFile ( juniePath , 'utf8' ) ) . resolves . toContain ( 'Rule B' ) ,
83+ expect ( fs . readFile ( junieMcpPath , 'utf8' ) ) . resolves . toContain ( '"example"' ) ,
8284 ] ) ;
8385 const ohToml = await fs . readFile ( openHandsConfigPath , 'utf8' ) ;
8486 const ohParsed : any = parseTOML ( ohToml ) ;
@@ -195,6 +197,7 @@ output_path = "awesome.md"
195197 expect ( gitignoreContent ) . toContain ( '.idx/airules.md' ) ;
196198 expect ( gitignoreContent ) . toContain ( '.openhands/microagents/repo.md' ) ;
197199 expect ( gitignoreContent ) . toContain ( 'config.toml' ) ;
200+ expect ( gitignoreContent ) . toContain ( '.junie/mcp/mcp.json' ) ;
198201 } ) ;
199202
200203 it ( 'does not update .gitignore when --no-gitignore is used' , async ( ) => {
@@ -305,6 +308,7 @@ output_path = "custom-claude.md"`;
305308 '/.vscode/mcp.json' ,
306309 '/.gemini/settings.json' ,
307310 '/.cursor/mcp.json' ,
311+ '/.junie/mcp/mcp.json' ,
308312 '/.mcp.json' ,
309313 // Generated agent files (root-anchored)
310314 '/AGENTS.md' ,
0 commit comments