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.

12 lines
460 B

import { describe, expect, it } from "vitest";
import { BROWSER_FETCH_AND_INJECT_PLACE } from "@/workers/rpa/fix-place/browser-place-commit";
describe("browser-place-commit", () => {
it("BROWSER_FETCH_AND_INJECT_PLACE 为 Playwright 可执行 async 函数体", () => {
expect(BROWSER_FETCH_AND_INJECT_PLACE.trim().startsWith("async (arg)")).toBe(
true,
);
expect(BROWSER_FETCH_AND_INJECT_PLACE).not.toContain("(async function");
});
});