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

describe("gngtickets payment configuration", () => {
  it("does not expose live payment credentials in source control", () => {
    expect(process.env.STRIPE_SECRET_KEY ?? "").not.toMatch(/^sk_(live|test)_[^ ]+/);
    expect(process.env.VITE_STRIPE_PUBLISHABLE_KEY ?? "").not.toMatch(/^pk_(live|test)_[^ ]+/);
  });
});
