MCPcopy Create free account
hub / github.com/EvoMap/evolver / assertNoRawHubBodySecrets

Function assertNoRawHubBodySecrets

test/syncEngineLoopResilience.test.js:105–110  ·  view source on GitHub ↗
(text, raw)

Source from the content-addressed store, hash-verified

103}
104
105function assertNoRawHubBodySecrets(text, raw) {
106 assert.equal(text.includes(raw.nodeSecret), false, 'raw node_secret value must not be surfaced');
107 assert.equal(text.includes(raw.bearer), false, 'raw Bearer token must not be surfaced');
108 assert.equal(text.includes(raw.token), false, 'raw token field value must not be surfaced');
109 assert.equal(text.includes(raw.envPath), false, 'raw .env path must not be surfaced');
110}
111
112async function runOneScheduledTick(schedule) {
113 const realSetTimeout = global.setTimeout;

Calls

no outgoing calls

Tested by

no test coverage detected