You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
411 B

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/);
});
});