MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / test-hook-env.mjs

File test-hook-env.mjs

test-hook-env.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Test that hooks never see OrbCode credentials (or other secret-like env vars).
2// Run with: node test-hook-env.mjs
3import { HookRunner } from "./dist/core/hooks.js"
4import assert from "node:assert"

Callers

nothing calls this directly

Calls 3

runMethod · 0.80
makeRunnerFunction · 0.70
okFunction · 0.70

Tested by

no test coverage detected