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

File feedback.test.ts

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

Source from the content-addressed store, hash-verified

1import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from 'vitest';
2import { gatherFeedback, sendFeedback } from '../src/feedback';
3import logger from '../src/logger';
4import { fetchWithProxy } from '../src/util/fetch/index';

Callers

nothing calls this directly

Calls 5

mockConsoleFunction · 0.90
createMockResponseFunction · 0.90
sendFeedbackFunction · 0.90
gatherFeedbackFunction · 0.90
itFunction · 0.85

Tested by

no test coverage detected