import { describe, expect, it } from "vitest";
import { RESOLVE_CLICK_TARGET } from "@/workers/rpa/fix-place/cdp-click";

describe("cdp-click", () => {
  it("RESOLVE_CLICK_TARGET 为纯字符串脚本", () => {
    expect(typeof RESOLVE_CLICK_TARGET).toBe("string");
    expect(RESOLVE_CLICK_TARGET).toContain("getBoundingClientRect");
    expect(RESOLVE_CLICK_TARGET).not.toMatch(/__name|__assign/);
  });
});
