Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

485 B
Raw Blame
import { describe, expect, it } from "vitest";
import { renderHook } from "@testing-library/react";
// Resolves to the SaaS override (src/portal-saas) via the @processor cascade.
import { useAdminNavVisible } from "@processor/hooks/useAdminNavVisible";

describe("useAdminNavVisible (SaaS)", () => {
  it("keeps admin-gated entries visible, since the billing page renders for any member", () => {
    expect(renderHook(() => useAdminNavVisible()).result.current).toBe(true);
  });
});