15 lines
654 B
TypeScript
15 lines
654 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import source from "./GamePlayerIntelligencePanel.tsx?raw";
|
|
|
|
describe("GamePlayerIntelligencePanel", () => {
|
|
it("renders reviewable labels without raw network material or enforcement controls", () => {
|
|
expect(source).toContain("需要人工审核");
|
|
expect(source).toContain("失败尝试");
|
|
expect(source).toContain("受控技能与角色属性修改");
|
|
expect(source).toContain("等待平台管理员审批");
|
|
expect(source).toContain("写后读取确认失败");
|
|
expect(source).not.toContain("networkFingerprint");
|
|
expect(source).not.toMatch(/\bban\b|\bkick\b/i);
|
|
});
|
|
});
|