21 lines
870 B
Markdown
21 lines
870 B
Markdown
# Companion Platform Clients Integration Coverage Checklist (2026-02-16)
|
|
|
|
## Scope
|
|
|
|
- Add gateway-backed integration coverage for platform wrappers so behavior is validated against live JSON-RPC handling, not only mocks.
|
|
|
|
## Implementation
|
|
|
|
- Added `src/companion/platformClients.integration.test.ts`.
|
|
- Test harness spins up a real `GatewayServer` fixture with node RPC enabled and token auth.
|
|
- Each platform wrapper is exercised end-to-end:
|
|
- macOS: registration + status (`platform: macos`) + `system.nodes` visibility
|
|
- iOS: registration + APNs push registration + `system.nodes` visibility
|
|
- Android: registration + FCM push registration + `system.nodes` visibility
|
|
|
|
## Validation
|
|
|
|
- `pnpm test:run src/companion/platformClients.integration.test.ts src/companion/platformClients.test.ts src/companion/runtimeClient.test.ts`
|
|
- `pnpm typecheck`
|
|
- `pnpm build`
|