MCPcopy
hub / github.com/continuedev/continue / ModelService.test.ts

File ModelService.test.ts

extensions/cli/src/services/ModelService.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { AssistantUnrolled, ModelConfig } from "@continuedev/config-yaml";
2import { beforeEach, describe, expect, test, vi } from "vitest";
3
4// Mock dependencies before imports

Callers

nothing calls this directly

Calls 11

mockMethod · 0.80
switchModelMethod · 0.80
getCurrentModelIndexMethod · 0.80
getModelIndexByNameMethod · 0.80
getModelInfoMethod · 0.80
getDependenciesMethod · 0.65
onMethod · 0.65
initializeMethod · 0.45
getStateMethod · 0.45
isReadyMethod · 0.45

Tested by

no test coverage detected