Skip to main content
node__test--reporters.d.ts - Node documentation

Usage in Deno

```typescript import * as mod from "node:node__test--reporters.d.ts"; ```
The `node:test/reporters` module exposes the builtin-reporters for `node:test`. To access it: ```js import test from 'node:test/reporters'; ``` This module is only available under the `node:` scheme. The following will not work: ```js import test from 'node:test/reporters'; ```

Classes

c
LcovReporter
No documentation available
c
SpecReporter
No documentation available

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](https://testanything.org/) format.

Interfaces

I
ReporterConstructorWrapper
No documentation available

Type Aliases

T
TestEvent
No documentation available
T
TestEventGenerator
No documentation available

Variables

v
lcov
The `lcov` reporter outputs test coverage when used with the [`--experimental-test-coverage`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--experimental-test-coverage) flag.
v
spec
The `spec` reporter outputs the test results in a human-readable format.