import { describe, expect, it } from "vitest";

import { getUserInitials } from "./get-user-initials";

describe("getUserInitials", () => {
  it("uses the first two name parts", () => {
    expect(getUserInitials("Sai Karthik")).toBe("SK");
  });

  it("uses a neutral fallback while auth loads", () => {
    expect(getUserInitials()).toBe("U");
  });
});
