chore(lint): no-explicit-any in editor-targets.test

This commit is contained in:
Mohamed Boudra
2026-04-24 06:12:23 +07:00
parent ce13b238a3
commit 7823860c26

View File

@@ -1,3 +1,4 @@
import type { ChildProcess } from "node:child_process";
import { describe, expect, it, vi } from "vitest";
import { listAvailableEditorTargets, openInEditorTarget } from "./editor-targets.js";
@@ -45,7 +46,7 @@ describe("editor-targets", () => {
return child;
});
const child = { once, unref };
const spawn = vi.fn(() => child as any);
const spawn = vi.fn(() => child as unknown as ChildProcess);
await openInEditorTarget(
{