Index - Node documentation

Usage

import * as mod from "node:test/reporters";

The node:test/reporters module exposes the builtin-reporters for node:test. To access it:

import test from 'node:test/reporters';

This module is only available under the node: scheme. The following will not work:

import test from 'test/reporters';

Classes

c
Lcov
No documentation available
c
lcov
No documentation available
c
Spec

The spec reporter outputs the test results in a human-readable format.

c
spec

The spec reporter outputs the test results in a human-readable format.

Functions

f
dot

The dot reporter outputs the test results in a compact format, where each passing test is represented by a ., and each failing test is represented by a X.

f
junit

The junit reporter outputs test results in a jUnit XML format

f
tap

The tap reporter outputs the test results in the TAP format.

Type Aliases

T
TestEvent
No documentation available
T
TestEventGenerator
No documentation available