You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🧪 testing improvement: add missing tests for API error paths (#44)
Adds test coverage for the `query` function in `src/api.ts` verifying
the correct error behavior when `runtimeFetch` throws (e.g. network failure),
returns non-JSON bodies on 200 responses, and returns non-200 HTTP status
codes.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: sunnylqm <615282+sunnylqm@users.noreply.github.com>
0 commit comments