> 🤖 This PR was written by Codex on behalf of Jake Howell.
Replace the 22 remaining `toThrowError` calls in `site/` tests with
`toThrow`. Vitest registers both names for the same matcher, so the
existing error expectations and negations carry over.
https://vitest.dev/api/expect.html#tothrow
Depends on #32832