mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-14 12:02:27 +08:00
18 lines
533 B
TypeScript
18 lines
533 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
|
|
import {
|
|
imagePricingPlatforms,
|
|
supportsImagePricingPlatform,
|
|
} from "../groupsImagePricing";
|
|
|
|
describe("groups image pricing platform support", () => {
|
|
it("includes Grok media groups", () => {
|
|
expect(supportsImagePricingPlatform("grok")).toBe(true);
|
|
expect(imagePricingPlatforms.has("grok")).toBe(true);
|
|
});
|
|
|
|
it("keeps non-media group platforms out of the image pricing controls", () => {
|
|
expect(supportsImagePricingPlatform("anthropic")).toBe(false);
|
|
});
|
|
});
|