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

File updates.test.ts

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

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
2import { mockProcessEnv } from './util/utils';
3
4// Create mock for exec - using vi.hoisted to ensure it's available in vi.mock factory

Callers

nothing calls this directly

Calls 7

getLatestVersionFunction · 0.90
mockProcessEnvFunction · 0.90
checkForUpdatesFunction · 0.90
checkModelAuditUpdatesFunction · 0.90
itFunction · 0.85

Tested by

no test coverage detected