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).not.toContain("networkFingerprint"); expect(source).not.toMatch(/\bban\b|\bkick\b/i); }); });