Documentation Home
This page describes a pre-release version of Jasmine (5.0.0-beta.0). There may be additional changes, including breaking changes, before the final 5.0.0 release.
The current stable version of Jasmine is 5.5.

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