Documentation Home
This page is for an older version of Jasmine (5.4).
The current stable version of Jasmine is: 5.5. You can also look at the docs for the next release: Edge

Class: ConsoleReporter

ConsoleReporter()

A reporter that prints spec and suite results to the console. A ConsoleReporter is installed by default.

Constructor

new ConsoleReporter()

Example
const {ConsoleReporter} = require('jasmine');
const reporter = new ConsoleReporter();

Methods

setOptions(options)

Configures the reporter.

Parameters:
Name Type Description
options ConsoleReporterOptions