MCPcopy
hub / github.com/qawolf/cli / drivePassingFlow

Function drivePassingFlow

src/commands/flows/buildRunReporter.test.ts:11–19  ·  view source on GitHub ↗
(reporter: ReturnType<typeof buildRunReporter>)

Source from the content-addressed store, hash-verified

9import { buildRunReporter } from "./buildRunReporter.js";
10
11function 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
21describe("buildRunReporter", () => {
22 it("writes a JUnit file through the injected fs, creating the output dir", () => {

Callers 1

Calls 1

makeSummaryFunction · 0.85

Tested by

no test coverage detected