test(cli): add cutover exports to update-instrumentation mock
Refs #2129
This commit is contained in:
parent
1b721328e2
commit
71b4fdf2c5
|
|
@ -37,6 +37,10 @@ vi.mock("../../src/lib/update-check.js", () => ({
|
|||
getUpdateCommand: (...args: unknown[]) => mockGetUpdateCommand(...args),
|
||||
readCachedUpdateInfo: vi.fn(() => undefined),
|
||||
resolveUpdateChannel: vi.fn(() => "stable"),
|
||||
// No cutover target → these tests exercise the normal-update instrumentation.
|
||||
resolveCutoverTarget: vi.fn(async () => null),
|
||||
isLegacyVersion: vi.fn(() => false),
|
||||
getCutoverInstallCommand: vi.fn(() => null),
|
||||
}));
|
||||
|
||||
const { mockPromptConfirm } = vi.hoisted(() => ({
|
||||
|
|
|
|||
Loading…
Reference in New Issue