Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tiann/hapi
/ cursorModels.test.ts
File
cursorModels.test.ts
cli/src/modules/common/cursorModels.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, describe, expect, test, vi } from
'vitest'
2
import
{ setCursorAcpModelsSnapshot } from
'@/cursor/utils/cursorAcpModelsBridge'
3
4
const
{ spawnMock } = vi.hoisted(() => ({
Callers
nothing calls this directly
Calls
10
_resetCursorModelsCacheForTests
Function · 0.90
_resetSharedCursorModelsCacheForTests
Function · 0.90
setCursorAcpModelsSnapshot
Function · 0.90
writeSharedCursorModelsCache
Function · 0.90
buildCursorModelsSeedPayload
Function · 0.90
readSharedCursorModelsCache
Function · 0.90
parseCursorModelsOutput
Function · 0.90
listCursorModels
Function · 0.90
seedCursorModelsCache
Function · 0.90
handler
Function · 0.85
Tested by
no test coverage detected