Commit 88fb5ea
committed
test: add unit tests for condition-evaluator module
Add 51 tests covering ConditionEvaluator class:
- Tech stack conditions: database, frontend, backend, typescript, tests
- Database-specific: supabase_configured, RLS, migrations
- Frontend-specific: react, vue, tailwind
- Workflow state: QA approval, phase completion, collection phases
- Logical operators: AND, OR, mixed AND/OR (OR-of-ANDs)
- Dot notation access and equality checks
- Negation, unknown conditions, composite conditions
- shouldExecutePhase, getFailedConditions, getSkipExplanation
- evaluateAllPhases summary1 parent 6eaa7aa commit 88fb5ea
1 file changed
Lines changed: 462 additions & 0 deletions
0 commit comments