Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/promptfoo/promptfoo
/ eval.test.ts
File
eval.test.ts
test/server/eval.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ Server } from
'node:http'
;
2
3
import
request from
'supertest'
;
4
import
{ afterAll, afterEach, beforeAll, describe, expect, it, vi } from
'vitest'
;
Callers
nothing calls this directly
Calls
15
runDbMigrations
Function · 0.90
createApp
Function · 0.90
resolve
Function · 0.85
it
Function · 0.85
invariant
Function · 0.85
createManualRatingPayload
Function · 0.85
setResultPromptRaws
Function · 0.85
mockTablePayloadRangeError
Function · 0.85
getDb
Function · 0.85
listen
Method · 0.80
error
Method · 0.80
post
Method · 0.80
Tested by
no test coverage detected