Skip to main content

externalStartLocalServer

Starts local server so that a test can interact with it.

Index

Constructors

externalconstructor

Methods

staticexternalonRandomPort

  • Starts local test server on a random available ports.


    Returns Interaction

staticexternalonPort

  • Instructs the Actor to start a local test server on a preferredPort, or a random one if that's not available.


    Parameters

    Returns Interaction

staticexternalonRandomPortBetween

  • Instructs the Actor to start a local test server on a random port between lowestPort and highestPort, inclusive.


    Parameters

    • externallowestPort: Answerable<number>

      Lower bound of the preferred port range

    • externalhighestPort: Answerable<number>

      Upper bound of the preferred port range

    Returns Interaction