(reporter: ReturnType<typeof buildRunReporter>)
| 9 | import { buildRunReporter } from "./buildRunReporter.js"; |
| 10 | |
| 11 | function drivePassingFlow(reporter: ReturnType<typeof buildRunReporter>): void { |
| 12 | reporter.onFlowPass?.({ |
| 13 | name: "Login", |
| 14 | path: "flows/login.ts", |
| 15 | tests: { passed: 1, total: 1 }, |
| 16 | durationMs: 1000, |
| 17 | }); |
| 18 | reporter.onRunComplete?.({ summary: makeSummary() }); |
| 19 | } |
| 20 | |
| 21 | describe("buildRunReporter", () => { |
| 22 | it("writes a JUnit file through the injected fs, creating the output dir", () => { |
no test coverage detected