diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f71d04..e4d9f64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,7 @@ jobs: # ai-setup-templates.ts and the templates/ folder copy are .gitignored # — always generated fresh here from the mcp-ts source of truth. - name: Sync templates to vscode-ext + shell: bash run: | cp mcp-ts/src/templates.ts vscode-ext/src/ai-setup-templates.ts rm -rf vscode-ext/src/templates diff --git a/vscode-ext/vitest.config.ts b/vscode-ext/vitest.config.ts index 7ce2961..ba23e43 100644 --- a/vscode-ext/vitest.config.ts +++ b/vscode-ext/vitest.config.ts @@ -10,6 +10,7 @@ export default defineConfig({ include: ['src/**/*.ts'], exclude: [ 'src/ai-setup-templates.ts', // generated copy of mcp-ts/src/templates.ts + 'src/templates/**', // generated copy of mcp-ts/src/templates/ (covered by mcp-ts tests) 'src/extension.ts', // thin VS Code activation layer; exercised via integration-commands mocks 'src/ai-setup.ts', // thin wrapper around mcp-ts setupAiFiles; covered by mcp-ts tests 'src/mcp.ts', // vscode.lm.registerTool wiring; activation-only, not reachable in unit tests