MCPcopy Index your code
hub / github.com/MatterAIOrg/OrbCode / b64

Function b64

test-ui.mjs:12–12  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

10// Self-contained fixture: a syntactically valid but fake JWT, so the app starts
11// in chat view and API calls fail with a clean 401.
12const b64 = (o) => Buffer.from(JSON.stringify(o)).toString("base64url")
13fs.mkdirSync(process.env.MATTERAI_CONFIG_DIR, { recursive: true })
14fs.writeFileSync(
15 process.env.MATTERAI_CONFIG_DIR + "/config.json",

Callers 1

test-ui.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected