Documentation Home
This page is for an older version of Jasmine (4.1).
The current stable version of Jasmine is: 5.4. 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