Skip to content

Commit ccee04f

Browse files
la14-1spawn-qa-bot
andauthored
docs(tests): add missing test file entries to __tests__/README.md (#3047)
Four test files existed on disk but were not documented in the README index: - pull-history.test.ts - recursive-spawn.test.ts - spawn-skill.test.ts - star-prompt.test.ts Co-authored-by: spawn-qa-bot <qa@openrouter.ai>
1 parent 088e33b commit ccee04f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/cli/src/__tests__/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ bun test src/__tests__/manifest.test.ts
2424

2525
### Commands: happy paths
2626
- `cmdrun-happy-path.test.ts` — Successful download, history recording, env var passing
27+
- `pull-history.test.ts``cmdPullHistory`, `parseAndMergeChildHistory`: child spawn history import and deduplication
2728
- `cmd-interactive.test.ts` — Interactive agent/cloud selection flow
2829
- `cmd-listing-output.test.ts``cmdMatrix`, `cmdAgents`, `cmdClouds` output formatting
2930
- `cmdlast.test.ts``cmdLast`: history display and resumption
@@ -131,13 +132,16 @@ bun test src/__tests__/manifest.test.ts
131132

132133
### Shared helpers
133134
- `shared-helpers.test.ts``generateEnvConfig`, `hasStatus`, `toObjectArray`, `toRecord`
135+
- `spawn-skill.test.ts``getSpawnSkillPath`, `getSkillContent`, `injectSpawnSkill`, `isAppendMode`: skill injection per agent
136+
- `star-prompt.test.ts``maybeShowStarPrompt`: returning-user detection, 30-day cooldown, preference persistence
134137

135138
### OAuth and auth
136139
- `oauth-code-validation.test.ts``OAUTH_CODE_REGEX` format validation
137140
- `oauth-pkce.test.ts``generateCodeVerifier`, `generateCodeChallenge` PKCE S256 flow
138141

139142
### History (extended)
140143
- `history-spawn-id.test.ts` — Unique spawn IDs, `saveVmConnection`/`saveLaunchCmd` by spawnId, concurrent spawn isolation
144+
- `recursive-spawn.test.ts``findDescendants`, `cmdTree`, `mergeChildHistory`, `exportHistory`: recursive child spawn tracking and tree output
141145

142146
### Manifest (extended)
143147
- `icon-integrity.test.ts` — Icon file existence and format validation

0 commit comments

Comments
 (0)