API reference › @evolu/nodejs › TestOverviewReporter › default
function default(source:
| AsyncIterable<TestEvent, any, any>
| Iterable<TestEvent, any, any>): AsyncGenerator<string | Uint8Array<ArrayBufferLike>, void>;
Defined in: packages/nodejs/src/TestOverviewReporter.ts:32
Lists test files slowest-first and preserves Node.js failure diagnostics, run totals, and coverage output.
A test file is listed as failed when any of its tests fail or the file itself
fails, such as to load. Standard output and standard error of failed test
files are printed after the failed tests; output of other files is omitted. A
file that reports no tests, such as one without tests or one that exits
before its tests finish, is listed as (no tests reported); Node.js counts
it as passed when it exits with code 0. Durations longer than 300 ms are
highlighted when terminal colors are supported.