MCPcopy Create free account
hub / github.com/SethGammon/Citadel / refresh

Function refresh

scripts/test-deploy-steward.js:62–68  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

60 return {
61 calls,
62 refresh(item) {
63 calls.refresh = [...(calls.refresh || []), item.id];
64 const detail = typeof refreshes === 'function' ? refreshes(item) : refreshes[item.id];
65 if (detail instanceof Error) throw detail;
66 assert(detail, `missing fake refresh detail for ${item.id}`);
67 return detail;
68 },
69 updateBranch(item) {
70 calls.updateBranch = [...(calls.updateBranch || []), item.id];
71 },

Callers

nothing calls this directly

Calls 2

passingPrFunction · 0.85
assertFunction · 0.70

Tested by

no test coverage detected