MCPcopy
hub / github.com/colbymchenry/codegraph / security.test.ts

File security.test.ts

__tests__/security.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Security Tests
3 *
4 * Tests for P0/P1 security fixes:

Callers

nothing calls this directly

Calls 15

validatePathWithinRootFunction · 0.90
validateProjectPathFunction · 0.90
isSourceFileFunction · 0.90
scanDirectoryFunction · 0.90
linkFunction · 0.85
joinMethod · 0.80
releaseMethod · 0.80
withLockAsyncMethod · 0.80
initSyncMethod · 0.80
executeMethod · 0.80
getDbMethod · 0.80
getFileByPathMethod · 0.80

Tested by

no test coverage detected