- Add dedicated unit tests for detectSessionPR() covering all edge cases: null SCM, undefined project, SCM throws, metadata fallback, SCM overrides metadata, no-branch sessions - Rewrite integration test to exercise full sessionManager.spawn() pipeline (stub agent → plugin registry → spawn → tmux → metadata) instead of calling runtime.create() directly - Add no-branch test in status.test.ts verifying the behavior change from removing the if(branch) guard before SCM detectPR call Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||