Test Runners@serenity-js/jasmineFunctionsdefaultexternaldefault Callabledefault(config?: SerenityReporterForJasmineConfig, jasmine?: any): SerenityReporterForJasmineBootstraps the Serenity/JS reporter for Jasmine. This function monkey-patches Jasmine's Suite and Spec constructors so that they provide more accurate location information. For Jasmine 5.x, Suite and Spec are on the jasmine object directly. For Jasmine 6.x, Suite and Spec are in jasmine.private. Registering the reporter from the command linejasmine --reporter=@serenity-js/jasmine Registering the reporter programmaticallyimport serenityReporterForJasmine = require('@serenity-js/jasmine');jasmine.getEnv().addReporter(serenityReporterForJasmine);Parametersexternalconfig: SerenityReporterForJasmineConfig = {}externaljasmine: any = ...the global.jasmine instanceReturns SerenityReporterForJasmine
Bootstraps the Serenity/JS reporter for Jasmine.
This function monkey-patches Jasmine's Suite and Spec constructors so that they provide more accurate location information.
For Jasmine 5.x, Suite and Spec are on the jasmine object directly. For Jasmine 6.x, Suite and Spec are in jasmine.private.
Registering the reporter from the command line
Registering the reporter programmatically