Skip to main content
dot - test/reporters - Node documentation
function dot

Usage in Deno

import { dot } from "node:test/reporters";
dot(source: TestEventGenerator): AsyncGenerator<
"\n"
| "."
| "X"
, void>

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.

Parameters

Return Type

AsyncGenerator<
"\n"
| "."
| "X"
, void>
Back to top