Functions

f
dumpYaml(unnamed 0: { name: string; actual: unknown; expected: unknown; message: string | null; stack: string | null; at: string | null; }): string

Serializes the fixed TAP assertion object to a YAML string. Uses a template literal (no Object.entries overhead) for the known top-level keys.

Usage

import * as mod from "lib/tap/dump-yaml.ts";