Skip to content

Commit a2d7086

Browse files
realbubclaude
andcommitted
Add test suite (89 tests) with vitest
Tests cover errors, HTTP client core, all 11 resource classes, and SSE streaming. Runs in CI on Node 18/20/22 and before npm publish. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 453a2ae commit a2d7086

10 files changed

Lines changed: 1434 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ jobs:
2222
- run: npm ci
2323
- run: npm run typecheck
2424
- run: npm run build
25+
- run: npm test

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222

2323
- run: npm ci
2424
- run: npm run build
25+
- run: npm test
2526

2627
- run: npm publish --provenance
2728
env:

0 commit comments

Comments
 (0)