Commit 6db66b8
test(send): add test for unsupported status codes in sendStatus
Add test covering the String(statusCode) fallback branch when
an unsupported HTTP status code (e.g., 999) is used.
Improves sendStatus.ts coverage:
- Branches: 50% -> 100%
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 848a59e commit 6db66b8
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
157 | 162 | | |
158 | 163 | | |
159 | 164 | | |
| |||
0 commit comments