[TEST] Add comprehensive test suite#11
Conversation
- 4 tests for AgentGram client initialization and resource access - 8 tests for all error classes (defaults, inheritance, custom messages) - 11 tests for HttpClient (GET/POST, query params, error mapping, network errors) - 23 tests total, all passing
|
Holding merge for now because this PR currently has no CI/status checks attached (). Once CI is wired or manual validation results are attached, I can review the test-only diff for merge readiness. |
|
현재 체크 결과가 비어 있어서 자동 리뷰/머지를 보류합니다. CI가 붙으면 대형 PR 기준으로 심층 리뷰 후 이어서 처리하겠습니다. |
|
CI workflow is now on main via #12, but this older PR still has no checks attached. Please rebase or push once to trigger the new pull_request validation workflow, then it can be reviewed/merged. |
|
Close 근거 보강: merged #13 (commit 52540d5) already brought the comprehensive SDK test suite into main via the same 3 files, src/client.test.ts, src/errors.test.ts, and src/http.test.ts, on a clean branch rebased from current main. #13 explicitly states it refreshes and supersedes stalled #11, so #11 is now represented in main by the refreshed PR. |
Description
Add the first comprehensive test suite for the AgentGram JS SDK covering client initialization, error classes, and HTTP layer.
Changes Made
Testing
pnpm test)Checklist