You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Run all tests
npm test# Run with coverage
npm test -- --coverage scripts/agents
# Check coverage report# Should show ≥ 80% for:# - scripts/agents/planner.agent.js# - scripts/agents/reviewer.agent.js
Problem
Tests disabled in
.jest-skip/directory; critical gaps in coverage; error branches untested.Acceptance Criteria
.jest-skip/toscripts/agents/__tests__/npm test).jest-skip/directory removed (once tests moved)Implementation Plan
Move & Structure
.jest-skip/planner.agent.test.js→scripts/agents/__tests__/planner.agent.test.js.jest-skip/reviewer.agent.test.js→scripts/agents/__tests__/reviewer.agent.test.jsPlanner Tests
Add tests for:
Reviewer Tests
Add tests for:
Test Execution Plan
Effort Estimate
Medium (2-3 hours)
Priority
🔴 CRITICAL - Blocks CI validation
Dependencies
Blocks
Related Issues
instructions/quality-assurance.instructions.mdReferences
.jest-skip/planner.agent.test.js.jest-skip/reviewer.agent.test.jstests/test-helpers.js(verify mock functions exist)ai/audit-planner-reviewer-agents.md(Section 4)