mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
* test(skills): add unit tests for getAvailableSkills filtering getAvailableSkills() had zero test coverage despite being the entry point for --beta skills flag filtering. Covers: empty manifest, agent mismatch, correct filtering, isDefault flag, envVars collection. Agent: test-engineer Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * test(skills): add coverage for promptSkillSelection, collectSkillEnvVars, installSkills The Mock Tests CI check was failing because importing skills.ts in tests caused bun to instrument it for coverage, but only getAvailableSkills was tested (12.5% function coverage). Added tests for the remaining exported functions to bring coverage above the 50% threshold. Agent: pr-maintainer Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: Ahmed Abushagur <ahmed@abushagur.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||