MCPcopy
hub / github.com/sahat/hackathon-starter / isInManifest

Function isInManifest

test/tools/fixture-helpers.js:55–64  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

53}
54
55function isInManifest(id) {
56 try {
57 if (!id) return false;
58 if (!fs.existsSync(MANIFEST_PATH)) return false;
59 const list = JSON.parse(fs.readFileSync(MANIFEST_PATH, 'utf8'));
60 return Array.isArray(list) && list.includes(id);
61 } catch {
62 return false;
63 }
64}
65
66module.exports = { hashBody, keyFor, registerTestInManifest, isInManifest };

Callers 13

giphy.e2e.test.jsFile · 0.85
lob.e2e.test.jsFile · 0.85
nyt.e2e.test.jsFile · 0.85
chart.e2e.test.jsFile · 0.85
rag.e2e.test.jsFile · 0.85
trakt.e2e.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected