import type { ReactNode } from "react"; import { fireEvent, render, screen } from "@testing-library/react"; import { describe, expect, it, vi } from "vitest"; import { CommonConfigEditor } from "@/components/providers/forms/CommonConfigEditor"; vi.mock("@/components/common/FullScreenPanel", () => ({ FullScreenPanel: ({ isOpen, title, onClose, children, footer, }: { isOpen: boolean; title: string; onClose: () => void; children: ReactNode; footer?: ReactNode; }) => isOpen ? (