mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 09:31:15 +00:00
docs(tests): add missing test entries to __tests__/README (#2949)
Two test files (do-min-size.test.ts, docker-cloudinit-skip.test.ts) existed on disk but were not documented in the README. Add entries for both. Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
056ce252c7
commit
0f3cb8b2eb
1 changed files with 4 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ bun test src/__tests__/manifest.test.ts
|
|||
- `agent-tarball.test.ts` — `tryTarballInstall`: GitHub Release tarball install, fallback, URL validation
|
||||
- `gateway-resilience.test.ts` — `startGateway` systemd unit with auto-restart and cron heartbeat
|
||||
- `digitalocean-token.test.ts` — DigitalOcean token storage, retrieval, and API client helpers
|
||||
- `do-min-size.test.ts` — DigitalOcean minimum droplet size enforcement: `slugRamGb` RAM comparison, `AGENT_MIN_SIZE` map
|
||||
- `do-payment-warning.test.ts` — `ensureDoToken` proactive payment method reminder for first-time DigitalOcean users
|
||||
- `do-snapshot.test.ts` — `findSpawnSnapshot`: DigitalOcean snapshot lookup, filtering, error handling
|
||||
- `hetzner-pagination.test.ts` — Hetzner API pagination: multi-page server listing and cursor handling
|
||||
|
|
@ -141,6 +142,9 @@ bun test src/__tests__/manifest.test.ts
|
|||
### Manifest (extended)
|
||||
- `icon-integrity.test.ts` — Icon file existence and format validation
|
||||
|
||||
### Docker mode
|
||||
- `docker-cloudinit-skip.test.ts` — Docker mode skips cloud-init wait: Hetzner and GCP `waitForReady` condition includes `useDocker` flag
|
||||
|
||||
### Support files (not test files)
|
||||
- `test-helpers.ts` — Shared fixtures: `createMockManifest`, `mockClackPrompts`, `setupTestEnvironment`, etc.
|
||||
- `preload.ts` — Global test setup (temp dir isolation, env sandboxing)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue