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

File test-hook-trust.mjs

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

Source from the content-addressed store, hash-verified

1// Test the project-hook trust gate. Run with: node test-hook-trust.mjs
2import { loadSettings, getPendingProjectHooks, trustProjectHooks } from "./dist/config/settings.js"
3import assert from "node:assert"
4import { mkdtempSync, mkdirSync, writeFileSync, rmSync } from "node:fs"

Callers

nothing calls this directly

Calls 6

freshFunction · 0.85
writeProjectHooksFunction · 0.85
loadSettingsFunction · 0.85
getPendingProjectHooksFunction · 0.85
trustProjectHooksFunction · 0.85
okFunction · 0.70

Tested by

no test coverage detected