Function
stubRun
(overrides: Record<string, unknown> = {})
Source from the content-addressed store, hash-verified
| 58 | } |
| 59 | |
| 60 | function 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 | |
| 76 | describe("progress registry", () => { |
| 77 | beforeEach(() => { |
Tested by
no test coverage detected