import { describe, expect, it } from "vitest";
import { resolveSignupBillingIntent } from "./auth";

describe("resolveSignupBillingIntent", () => {
  it("defaults to solo when billing intent is missing", () => {
    expect(resolveSignupBillingIntent()).toBe("solo");
  });

  it("returns team when selected", () => {
    expect(resolveSignupBillingIntent("team")).toBe("team");
  });

  it("returns founder when selected", () => {
    expect(resolveSignupBillingIntent("founder")).toBe("founder");
  });
});
