mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-28 11:25:00 +00:00
Add comprehensive test coverage across all CLI commands:
- auth-resolution: token/registry priority chain (6 cases)
- multi-registry: credential isolation across registries (4 cases)
- cross-command: end-to-end flows spanning multiple commands (15 cases)
- inventory-resilience: corrupt inventory recovery (3 cases)
- concurrency: parallel install and stale lock handling (3 cases)
- version-upgrade-flow: version pinning and force upgrade (2 cases)
- Expand existing tests for install (+9), search (+10), publish (+5),
doctor (+5), remove (+3), list (+3), whoami (+2), update (+8)
- Align 5xx exit codes with
|
||
|---|---|---|
| .. | ||
| auth-commands.test.ts | ||
| auth-resolution.test.ts | ||
| concurrency.test.ts | ||
| cross-command.test.ts | ||
| doctor-command.test.ts | ||
| error-output.test.ts | ||
| help-command.test.ts | ||
| install-command.test.ts | ||
| inventory-resilience.test.ts | ||
| list-command.test.ts | ||
| multi-registry.test.ts | ||
| publish-command.test.ts | ||
| remove-command.test.ts | ||
| search-command.test.ts | ||
| update-command.test.ts | ||
| version-command.test.ts | ||
| version-upgrade-flow.test.ts | ||
| whoami-command.test.ts | ||