Skip to main content

externalexport=

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

    • externalrunner: Runner
    • externaloptionaloptions: MochaOptions

    Returns SerenityReporterForMocha