import { cleanup, fireEvent, render, screen } from "@testing-library/react"; import * as React from "react"; import { afterEach, describe, expect, it, vi } from "vitest"; import { ObjectForm } from "../src/widgets/object-form"; vi.mock("@cloudflare/kumo", () => ({ Button: ({ children, onClick, icon, "aria-label": ariaLabel, disabled }: any) => ( ), Input: ({ label, value, onChange, type, id, required }: any) => ( ), InputArea: ({ label, value, onChange, id, required }: any) => (