• A different provider stub for testing, supports delay to simulate network requests.

    Returns

    NetworkInfoProvider that returns data that is slightly different to mockNetworkInfoProvider.

    Parameters

    • delayMs: number

    Returns {
        eraSummaries: Mock<any, any>;
        genesisParameters: Mock<any, any>;
        healthCheck: Mock<any, any>;
        ledgerTip: Mock<any, any>;
        lovelaceSupply: Mock<any, any>;
        protocolParameters: Mock<any, any>;
        stake: Mock<any, any>;
    }

    • eraSummaries: Mock<any, any>
    • genesisParameters: Mock<any, any>
    • healthCheck: Mock<any, any>
    • ledgerTip: Mock<any, any>
    • lovelaceSupply: Mock<any, any>
    • protocolParameters: Mock<any, any>
    • stake: Mock<any, any>

Generated using TypeDoc