13 lines
511 B
TypeScript
13 lines
511 B
TypeScript
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");
|
|
});
|
|
});
|