HomeVendure CoreMoreMoreTestingGetSuperadminContextOn this pageGetSuperadminContext@vendure/testingSource Creates a RequestContext configured for the default Channel with the activeUser set as the superadmin user. Useful for populating data. Signaturefunction getSuperadminContext(app: INestApplicationContext): Promise<RequestContext> Parameters app parameterINestApplicationContextWas this chapter helpful?It was helpfulIt wasn't helpfulReport IssuePreviousErrorResultGuardNextRegisterInitializerEdited Jan 28, 2026ยทEdit this page