Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/promptfoo/promptfoo
/ loadFunction.test.ts
File
loadFunction.test.ts
test/util/functions/loadFunction.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeEach, describe, expect, it, vi } from
'vitest'
;
2
import
{ importModule } from
'../../../src/esm'
;
3
import
{ runPython } from
'../../../src/python/pythonUtils'
;
4
import
{
Callers
nothing calls this directly
Calls
4
loadFunction
Function · 0.90
parseFileUrl
Function · 0.90
it
Function · 0.85
result
Function · 0.85
Tested by
no test coverage detected