externalStartLocalServer
Index
Constructors
Methods
Constructors
externalconstructor
Returns StartLocalServer
Methods
staticexternalonRandomPort
Starts local test server on a random available ports.
Returns Interaction
staticexternalonPort
Instructs the
Actor
to start a local test server on apreferredPort
, or a random one if that's not available.Parameters
externalpreferredPort: Answerable<number>
Returns Interaction
staticexternalonRandomPortBetween
Instructs the
Actor
to start a local test server on a random port betweenlowestPort
andhighestPort
, inclusive.Parameters
externallowestPort: Answerable<number>
Lower bound of the preferred port range
externalhighestPort: Answerable<number>
Upper bound of the preferred port range
Returns Interaction
Starts local server so that a test can interact with it.