Commit 12fd9e4
fix(test): type the caught error in the fetchJson HttpError test
tsc (typecheck) flagged `err` as unknown; cast to HttpError for the status
assertion. vitest passed locally but the CI typecheck step caught it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 3c8e27e commit 12fd9e4
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
248 | 250 | | |
249 | | - | |
| 251 | + | |
250 | 252 | | |
251 | 253 | | |
252 | 254 | | |
| |||
0 commit comments