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

File evaluatorHelpers.test.ts

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

Source from the content-addressed store, hash-verified

1import { createRequire } from 'node:module';
2import * as fs from 'fs';
3
4import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';

Callers

nothing calls this directly

Calls 15

createMockProviderFunction · 0.90
extractTextFromPDFFunction · 0.90
mockProcessEnvFunction · 0.90
renderPromptFunction · 0.90
resolveVariablesFunction · 0.90
runExtensionHookFunction · 0.90
getExtensionHookNameFunction · 0.90
collectFileMetadataFunction · 0.90
itFunction · 0.85
mockDynamicModuleFunction · 0.85
parseMethod · 0.80
failMethod · 0.80

Tested by

no test coverage detected