Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ toolPolicy.test.ts
File
toolPolicy.test.ts
src/tools/toolPolicy.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it, mock } from
'bun:test'
2
3
process.env.NOUMENA_API_KEY ??=
'test-key-for-hermetic-contracts'
4
Callers
nothing calls this directly
Calls
10
getAllBaseTools
Function · 0.85
getToolPolicy
Function · 0.85
getPrimaryDirectToolNames
Function · 0.85
getToolTier
Function · 0.85
getTools
Function · 0.85
getEmptyToolPermissionContext
Function · 0.85
getToolNamesByTier
Function · 0.85
sortToolsByPolicy
Function · 0.85
resolve
Method · 0.80
has
Method · 0.45
Tested by
no test coverage detected