import type { CellContext } from "@tanstack/react-table"; import { render, screen } from "@testing-library/react"; import type { ReactElement, ReactNode } from "react"; import { describe, expect, expectTypeOf, it, vi } from "vitest"; import type { UserProps } from "@/types"; import type { UserSignInMethod } from "@/types/users"; vi.mock("@/components/shadcn", () => ({ Badge: ({ children, variant }: { children: ReactNode; variant?: string }) => ( {children} ), })); vi.mock("@/components/shadcn/entities", () => ({ DateWithTime: () =>