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

Usage in Deno

import { junit } from "node:test/reporters";
junit(source: TestEventGenerator): AsyncGenerator<string, void>

The junit reporter outputs test results in a jUnit XML format.

Parameters

Return Type

AsyncGenerator<string, void>