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 <[email protected]>
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)