Test Runners@serenity-js/jasmineFunctionsdefaultexternaldefault Callabledefault(config?: SerenityReporterForJasmineConfig, jasmine?: any): SerenityReporterForJasmineMonkey-patches Jasmine's Suite and Spec so that they provide more accurate information, and returns a bootstrapped instance of the SerenityReporterForJasmine to be registered with Jasmine. 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
Monkey-patches Jasmine's Suite and Spec so that they provide more accurate information, and returns a bootstrapped instance of the
SerenityReporterForJasmine
to be registered with Jasmine.Registering the reporter from the command line
Registering the reporter programmatically