agent-testing - Testing Vercel AI SDK Code
Test Vercel AI SDK code with correct mock fixtures and avoid V3 protocol bugs
Tags
Updated: 2026-05-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create mock models
- generate text responses
- stream text responses
- generate objects
- simulate tool calls
- validate stream chunks
- create test fixtures
- inspect model calls
- throw errors
- simulate retries
Inputs
- test file path
- Vercel AI SDK code
- model configuration
- test scenarios
- chunk data
Outputs
- test results
- validation reports
- error diagnostics
- test fixtures
Requirements
- Node.js test runner
- Vercel AI SDK
- TypeScript
