Hierarchy

  • ActiveConnect

Constructors

Properties

timeout: number = 3000

Methods

  • Closes all Websocket Connections Only suitable for test runs.

    Returns void

  • When an expected method is not received in that amount of milliseconds, the test fails.

    Returns number

    the timeout value

  • Loads all ts/js files in the speficied directory. Can be used to load route config without importing the files.

    Parameters

    • dirname: string

      absolute path of directory to load.

    Returns void

    Example

    ActiveConnect.loadCurrentDirectory(__dirname);
    
  • When an expected method is not received in that amount of milliseconds, the test fails.

    Parameters

    • ms: number

    Returns void

    the timeout value

Generated using TypeDoc