Skip to main content
TestEvent - test/reporters - Node documentation
type alias TestEvent

Usage in Deno

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

Definition

{ type: "test:coverage"; data: TestCoverage; }
| { type: "test:complete"; data: TestComplete; }
| { type: "test:dequeue"; data: TestDequeue; }
| { type: "test:diagnostic"; data: DiagnosticData; }
| { type: "test:enqueue"; data: TestEnqueue; }
| { 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:watch:drained"; data: undefined; }