Skip to main content

export=

Callable

  • export=(runner: Runner, options?: MochaOptions): SerenityReporterForMocha

  • Registers a Mocha reporter that emits Serenity/JS domain events and informs Serenity/JS when a test scenario starts, finishes, and with what result.


    Parameters

    • runner: Runner
    • optionaloptions: MochaOptions

    Returns SerenityReporterForMocha