test(cli): fix option-collision mock typings

This commit is contained in:
Gustavo Madeira Santana
2026-02-17 21:31:49 -05:00
parent c90b09cb02
commit 40a6661597
6 changed files with 51 additions and 23 deletions

View File

@@ -1,9 +1,9 @@
import { Command } from "commander";
import { beforeEach, describe, expect, it, vi } from "vitest";
const updateCommand = vi.fn(async () => {});
const updateStatusCommand = vi.fn(async () => {});
const updateWizardCommand = vi.fn(async () => {});
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(),