MCPcopy Index your code
hub / github.com/promptfoo/promptfoo / diffLineRanges.test.ts

File diffLineRanges.test.ts

test/codeScans/util/diffLineRanges.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest';
2import {
3 clampCommentLines,
4 extractValidLineRanges,

Callers

nothing calls this directly

Calls 6

extractValidLineRangesFunction · 0.90
clampCommentLinesFunction · 0.90
isLineInDiffFunction · 0.90
itFunction · 0.85
getMethod · 0.45
hasMethod · 0.45

Tested by

no test coverage detected