Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/getsentry/XcodeBuildMCP
/ upgrade.test.ts
File
upgrade.test.ts
src/cli/commands/__tests__/upgrade.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it, vi,
type
MockInstance } from
'vitest'
;
2
3
vi.mock(
'@clack/prompts'
, () => ({
4
intro: vi.fn(),
Callers
nothing calls this directly
Calls
15
parseVersion
Function · 0.90
compareVersions
Function · 0.90
detectInstallMethodFromPaths
Function · 0.90
truncateReleaseNotes
Function · 0.90
runUpgradeCommand
Function · 0.90
baseDeps
Function · 0.85
createMockLatestRelease
Function · 0.85
collectStdout
Function · 0.85
homebrewMethod
Function · 0.85
npmGlobalMethod
Function · 0.85
npxMethod
Function · 0.85
unknownMethod
Function · 0.85
Tested by
no test coverage detected