Skip to content

Commit 8816fef

Browse files
jaggederestclaude
andcommitted
test: add comprehensive tests for api.ts functions
- Add tests for needToken() function covering all TLS configuration scenarios - Add tests for createHttpAgent() including TLS, proxy, and insecure mode - Add tests for startWorkspaceIfStoppedOrFailed() with process spawn mocking - Refactor api.ts to eliminate config access duplication with getConfigString/getConfigPath helpers - Total test count increased from 59 to 82 tests 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f785902 commit 8816fef

File tree

2 files changed

+642
-10
lines changed

2 files changed

+642
-10
lines changed

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy