Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ createRequire } from
'node:module'
;
2
import
* as fs from
'fs'
;
3
4
import
{ afterEach, beforeEach, describe, expect, it, vi } from
'vitest'
;
Callers
nothing calls this directly
Calls
15
createMockProvider
Function · 0.90
extractTextFromPDF
Function · 0.90
mockProcessEnv
Function · 0.90
renderPrompt
Function · 0.90
resolveVariables
Function · 0.90
runExtensionHook
Function · 0.90
getExtensionHookName
Function · 0.90
collectFileMetadata
Function · 0.90
it
Function · 0.85
mockDynamicModule
Function · 0.85
parse
Method · 0.80
fail
Method · 0.80
Tested by
no test coverage detected