Skip to main content

TestEnvironment

The return value of createTestEnvironment, containing the test server and clients for the Shop API and Admin API.

Signature

server

propertyTestServer

A Vendure server instance against which GraphQL requests can be made.

adminClient

A GraphQL client configured for the Admin API.

shopClient

A GraphQL client configured for the Shop API.

Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page