rest-vir - v2.3.5
    Preparing search index...

    Type Alias MockWebSocketOptions

    Options accepted by the MockWebSocket constructor's fourth argument.

    @rest-vir/api

    type MockWebSocketOptions = {
        preventImmediateOpen?: boolean;
    }
    Index
    preventImmediateOpen?: boolean

    When true, the constructed mock will stay in the Connecting state until the test calls instance.open() explicitly. Defaults to false (auto-opens on next tick).