feat(scum): add versioned gift grants

This commit is contained in:
npc0-hue
2026-07-28 16:40:35 +08:00
parent 4527175a6f
commit e2d0bc0595
26 changed files with 1224 additions and 14 deletions
@@ -0,0 +1,12 @@
import { describe, expect, it } from "vitest";
import source from "./GameGiftCatalogPanel.tsx?raw";
describe("GameGiftCatalogPanel", () => {
it("keeps lifecycle state readable and avoids raw game command surfaces", () => {
expect(source).toContain("版本化礼包目录与定向发放");
expect(source).toContain("通知失败");
expect(source).toContain("绝不自动重试");
expect(source).not.toContain("rawCommand");
expect(source).not.toContain("sendSourceRCONCommand");
});
});