Skip to main content

wrapInOpenApiTestServer

Home > @backstage/backend-openapi-utils > wrapInOpenApiTestServer

!!! THIS CURRENTLY ONLY SUPPORTS SUPERTEST !!! Running against supertest, we need some way to hit the optic proxy. This ensures that that happens at runtime when in the context of a yarn optic capture command.

Signature:

wrapInOpenApiTestServer: (app: Express) => Server | Express