MCPcopy
hub / github.com/promptfoo/promptfoo / testCaseReader.test.ts

File testCaseReader.test.ts

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

Source from the content-addressed store, hash-verified

1import * as fs from 'fs';
2import * as path from 'path';
3
4import dedent from 'dedent';

Callers

nothing calls this directly

Calls 13

readStandaloneTestsFileFunction · 0.90
readTestFunction · 0.90
createMockProviderFunction · 0.90
readTestsFunction · 0.90
loadTestsFromGlobFunction · 0.90
testCaseFromCsvRowFunction · 0.90
readTestFilesFunction · 0.90
mockReadFileSyncFunction · 0.85
clearAllMocksFunction · 0.85
itFunction · 0.85
resolveMethod · 0.80
rejectMethod · 0.80

Tested by

no test coverage detected