MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / runFor

Function runFor

e2e/viewer/src/App.tsx:79–82  ·  view source on GitHub ↗
(scenario: string, target: string)

Source from the content-addressed store, hash-verified

77 ...new Set([...manifest.runs, ...manifest.skips].map((r) => r.scenario)),
78 ].sort();
79 const runFor = (scenario: string, target: string) =>
80 manifest.runs
81 .filter((r) => r.scenario === scenario && r.target === target)
82 .sort((a, b) => (b.endedAt ?? 0) - (a.endedAt ?? 0))[0];
83 const skipFor = (scenario: string, target: string) =>
84 manifest.skips.find((s) => s.scenario === scenario && s.target === target);
85

Callers 1

MatrixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected