StartLocalServer
Index
Methods
Constructors
Methods
staticonRandomPort
Starts local test server on a random available ports.
Returns Interaction
staticonPort
Instructs the Actor to start a local test server on a
preferredPort
, or a random one if thatβs not available.Parameters
preferredPort: Answerable<number>
Returns Interaction
staticonRandomPortBetween
Instructs the Actor to start a local test server on a random port between
lowestPort
andhighestPort
, inclusive.Parameters
lowestPort: Answerable<number>
Lower bound of the preferred port range
highestPort: Answerable<number>
Upper bound of the preferred port range
Returns Interaction
Constructors
constructor
Returns StartLocalServer
Starts local server so that a test can interact with it.