fix: align retry backoff semantics and test mock signatures

This commit is contained in:
Peter Steinberger
2026-02-18 04:32:49 +01:00
parent 0bf1b38cc0
commit 50e5553533
5 changed files with 19 additions and 40 deletions

View File

@@ -1,9 +1,9 @@
import { Command } from "commander";
import { beforeEach, describe, expect, it, vi } from "vitest";
const updateCommand = vi.fn(async (_opts?: unknown) => {});
const updateStatusCommand = vi.fn(async (_opts?: unknown) => {});
const updateWizardCommand = vi.fn(async (_opts?: unknown) => {});
const updateCommand = vi.fn(async (_opts: unknown) => {});
const updateStatusCommand = vi.fn(async (_opts: unknown) => {});
const updateWizardCommand = vi.fn(async (_opts: unknown) => {});
const defaultRuntime = {
log: vi.fn(),