Background
Several TMDB endpoints accept arrays, repeated values, or comma-separated query options. The beginner contribution ideas call out adding regression coverage for these request shapes, but there is no open issue for it.
Proposed change
Add focused request-capture tests for representative endpoint methods that serialize non-trivial query options.
Acceptance criteria
- covers at least two existing endpoint methods with array, repeated, or comma-separated query values
- asserts the final request URL/query values rather than making live TMDB requests
- uses the repository's existing mocked/captured request test style
- does not change public API behavior unless a real serialization bug is found
bun run test and bun run typecheck pass
Files likely involved
tests/endpoint-coverage.test.ts
- the relevant endpoint source files for reference only
Background
Several TMDB endpoints accept arrays, repeated values, or comma-separated query options. The beginner contribution ideas call out adding regression coverage for these request shapes, but there is no open issue for it.
Proposed change
Add focused request-capture tests for representative endpoint methods that serialize non-trivial query options.
Acceptance criteria
bun run testandbun run typecheckpassFiles likely involved
tests/endpoint-coverage.test.ts