refactor: embed import e2e tests into each feature test file#1291
Conversation
Move import tests from standalone e2e-import.spec.ts into their respective feature test files (rules, mcp, commands, subagents, skills, hooks, ignore) for better cohesion and discoverability. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…c output
toRulesyncMcpDefault and CodexcliMcp.toRulesyncMcp were hardcoding
the legacy '.mcp.json' filename. Changed to use RULESYNC_MCP_FILE_NAME
constant ('mcp.json') which matches the recommended path defined in
RulesyncMcp.getSettablePaths().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…t tests Add runImport helper to e2e-helper.ts (parallel to runGenerate) and replace manual execFileAsync calls across all 7 import test files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
PR #1291 Review SummaryOverall Mergeability Verdict: ✅ MERGEABLE All issues identified are low severity or lower. The "medium" issues are suggestions for future improvements rather than blockers. Code Review Findings
Security Review Findings
Conclusion: PR is ready to merge. Consider #1-4 as future improvements, not blockers. |
Summary
e2e-import.spec.tsand distributed import tests into their respective feature e2e test filestoRulesyncMcpDefaultandCodexcliMcp.toRulesyncMcpto use recommendedmcp.jsonfilename instead of legacy.mcp.jsonTest plan
pnpm vitest run --config vitest.e2e.config.ts)pnpm cicheck:code)🤖 Generated with Claude Code