api-boltAPIBolt

Environment Access

Access your environment variables directly inside test scripts via ab.env.

Accessing Environment

  • ab.env — A Record<string, string> of all environment variables available in the current context.
ts

Real-World Usage Examples

Combine environment access with the expect() API for powerful runtime validation:

ts