MCPcopy
hub / github.com/BuilderIO/agent-native / stubRun

Function stubRun

packages/core/src/progress/progress.spec.ts:60–74  ·  view source on GitHub ↗
(overrides: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

58}
59
60function stubRun(overrides: Record<string, unknown> = {}) {
61 return {
62 id: "r-1",
63 owner: "boni@local",
64 title: "Test run",
65 step: undefined,
66 percent: null,
67 status: "running",
68 metadata: undefined,
69 startedAt: "2026-04-22T00:00:00.000Z",
70 updatedAt: "2026-04-22T00:00:00.000Z",
71 completedAt: null,
72 ...overrides,
73 };
74}
75
76describe("progress registry", () => {
77 beforeEach(() => {

Callers 1

progress.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected