MockServer constructor

MockServer(
  1. MockTelepactSchema schema,
  2. MockServerOptions options
)

Constructs a MockServer with a mock schema and options.

schema is the mock schema to use. options are the options for configuring the mock server.

Implementation

MockServer(MockTelepactSchema schema, MockServerOptions options)
    : _server = b.MockServer(schema._schema, options._options);