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

File server.test.ts

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

Source from the content-addressed store, hash-verified

1import opener from 'opener';
2import { beforeEach, describe, expect, it, type MockedFunction, vi } from 'vitest';
3import { getDefaultPort, VERSION } from '../../src/constants';
4import logger from '../../src/logger';

Callers

nothing calls this directly

Calls 6

checkServerRunningFunction · 0.90
getDefaultPortFunction · 0.90
openBrowserFunction · 0.90
__clearFeatureCacheFunction · 0.90
itFunction · 0.85

Tested by

no test coverage detected