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

File generate.test.ts

test/redteam/commands/generate.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import fs from 'node:fs';
2
3import { Command } from 'commander';
4import * as yaml from 'js-yaml';

Callers

nothing calls this directly

Calls 10

createMockProviderFunction · 0.90
doGenerateRedteamFunction · 0.90
redteamGenerateCommandFunction · 0.90
resetCommonMocksFunction · 0.85
itFunction · 0.85
mockReadFileSyncFunction · 0.85
resolveMethod · 0.80
rejectMethod · 0.80
failMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected