claude-code-best/packages/remote-control-server/src/logger.ts
James Feng 18f5f99e7d fix: resolve all 14 test failures to 0
- Remove duplicate notifyAutomationStateChanged that shadowed real impl (sessionState 3→0)
- Fix messages.ts stub: re-export instead of type-only (ExecuteTool/VaultHttpFetch mock leaks)
- Fix CWD-dependent paths in queryModelOpenAI and VaultHttpFetch tests (use import.meta.url)
- Add missing logger.ts stub for remote-control-server
- CI: add --isolate flag, baseline 14→0
- Tests: 3643 pass,14 fail → 3857 pass,0 fail (--isolate)
2026-06-05 01:17:04 +08:00

6 lines
274 B
TypeScript

// Stub logger for remote-control-server (tests don't need real logging)
export function log(...args: unknown[]): void {}
export function error(...args: unknown[]): void {}
export function warn(...args: unknown[]): void {}
export function debug(...args: unknown[]): void {}