@api-emulator/vercel
v0.2.2
Published
Vercel provides deployment platform APIs for projects, builds, domains, environment variables, teams, and accounts.
Readme
@api-emulator/vercel
Vercel provides deployment platform APIs for projects, builds, domains, environment variables, teams, and accounts.
Use this emulator for local tests, CI, and offline agent runs. It keeps your tests separate from the production API.
Start the emulator
- Install the package.
npm install @api-emulator/vercel- From this registry, start the emulator.
npx -p api-emulator api --plugin ./providers/@vercel/api-emulator/src/index.ts --service vercelThe emulator uses the local URL that api-emulator prints. Set your client base URL to this local URL.
Supported API
The emulator source lists the supported local API endpoints.
Coverage
- Level:
stub - Meaning: This emulator has a small starter API.
- Evidence: starter surface without smoke coverage.
Credentials
Use a fixed bearer token or API key in each test. The emulator does not send these credentials to the provider.
Test data
Add repeatable test data to the provider configuration.
vercel:
# Add provider-specific seed state here.