@@ -68,8 +68,8 @@ describe('profile index helpers', () => {
6868 expect ( vscode ?. content ) . toContain ( '"Authorization": "Bearer ${input:gitlab-token}"' ) ;
6969 expect ( cursor ?. content ) . toContain ( '"type": "http"' ) ;
7070 expect ( cursor ?. content ) . toContain ( '"url": "__PROFILE_URL__"' ) ;
71- expect ( cursor ?. content ) . toContain ( '"Authorization": "Bearer ${GITLAB_TOKEN}"' ) ;
72- expect ( cursor ?. content ) . toContain ( '"GITLAB_TOKEN ": "${env:GITLAB_TOKEN}" ' ) ;
71+ expect ( cursor ?. content ) . toContain ( '"Authorization": "Bearer ${env: GITLAB_TOKEN}"' ) ;
72+ expect ( cursor ?. content ) . not . toContain ( '"env ": { ' ) ;
7373 expect ( cursor ?. content ) . not . toContain ( '"mcp-remote"' ) ;
7474 expect ( jetbrains ?. content ) . toContain ( '"requestInit"' ) ;
7575 expect ( jetbrains ?. content ) . toContain ( '"Authorization": "Bearer ${input:gitlab-token}"' ) ;
@@ -237,9 +237,9 @@ describe('profile index helpers', () => {
237237 expect ( profile . mcpUrl ) . toBe ( 'http://localhost:3003/profile/youtrack/mcp' ) ;
238238 expect ( vscode ?. content ) . toContain ( '"url": "__PROFILE_URL__?api_key=${input:yt-token}"' ) ;
239239 expect ( vscode ?. content ) . not . toContain ( '"headers"' ) ;
240- expect ( cursor ?. content ) . toContain ( '"url": "__PROFILE_URL__?api_key=${YT_TOKEN}"' ) ;
240+ expect ( cursor ?. content ) . toContain ( '"url": "__PROFILE_URL__?api_key=${env: YT_TOKEN}"' ) ;
241241 expect ( cursor ?. content ) . not . toContain ( '"mcp-remote"' ) ;
242- expect ( cursor ?. content ) . toContain ( '"YT_TOKEN ": "${env:YT_TOKEN}" ' ) ;
242+ expect ( cursor ?. content ) . not . toContain ( '"env ": { ' ) ;
243243 expect ( jetbrains ?. content ) . toContain ( '"url": "__PROFILE_URL__?api_key=${input:yt-token}"' ) ;
244244 expect ( claudeJson ?. content ) . toContain ( '"url": "__PROFILE_URL__?api_key=${YT_TOKEN}"' ) ;
245245 expect ( claudeCli ?. content ) . toContain ( '__PROFILE_URL__?api_key=\\${YT_TOKEN}' ) ;
0 commit comments