TestEvent - Node documentation
type alias TestEvent

Usage in Deno

import { type TestEvent } from "node:test/reporters";

Definition

{ type: "test:diagnostic"; data: DiagnosticData; }
| { type: "test:fail"; data: TestFail; }
| { type: "test:pass"; data: TestPass; }
| { type: "test:plan"; data: TestPlan; }
| { type: "test:start"; data: TestStart; }
| { type: "test:stderr"; data: TestStderr; }
| { type: "test:stdout"; data: TestStdout; }
| { type: "test:enqueue"; data: TestEnqueue; }
| { type: "test:dequeue"; data: TestDequeue; }
| { type: "test:watch:drained"; }