Commit 0e4cf57
test: fix gh.spec.ts 404 error test by adding proper JSON response body
The test was returning an empty response body (null) which caused Octokit
to not properly parse the error status. Updated to return a proper JSON
error response with message and documentation_url, consistent with other
error handling tests in the file.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent cd11dc6 commit 0e4cf57
1 file changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
354 | 363 | | |
355 | 364 | | |
356 | 365 | | |
| |||
0 commit comments