Skip to content

Connectum API Reference / @connectum/testing / types / CreateTestServerOptions

Interface: CreateTestServerOptions

Defined in: testing/src/types.ts:38

Options for createTestServer.

Properties

interceptors?

optional interceptors?: unknown[]

Defined in: testing/src/types.ts:42

Interceptors to apply. Default: []


port?

optional port?: number

Defined in: testing/src/types.ts:46

Port number. Default: 0 (random available port)


protocols?

optional protocols?: unknown[]

Defined in: testing/src/types.ts:44

Protocol extensions (Healthcheck, Reflection). Default: []


services

services: unknown[]

Defined in: testing/src/types.ts:40

ConnectRPC service route handlers.