SerpApi Local Dev Loop Overview Set up local development for SerpApi with response caching, fixture recording, and offline testing. SerpApi charges per search, so caching results locally is critical for cost-effective development. Instructions Step 1: Record Real Responses as Fixtures Step 2: Mock Client for Testing Step 3: Vitest Mocking (Node.js) Step 4: Environment Separation Error Handling | Error | Cause | Solution | |-------|-------|----------| | fixture | Missing fixture | Run with real API key | | Stale fixtures | Search results changed | Re-record periodically | | in dev | Env not lo…