chore: fix lint/test gating

This commit is contained in:
Peter Steinberger
2025-12-26 23:54:30 +00:00
parent a3dc46bf9d
commit 2477ffd860
7 changed files with 21 additions and 12 deletions

View File

@@ -336,8 +336,10 @@ describe("browser control server", () => {
}),
});
expect(clickSelector.status).toBe(400);
const clickSelectorBody = (await clickSelector.json()) as { error?: string };
expect(clickSelectorBody.error).toMatch(/selector is not supported/i);
const clickSelectorBody = (await clickSelector.json()) as {
error?: string;
};
expect(clickSelectorBody.error).toMatch(/'selector' is not supported/i);
const type = (await realFetch(`${base}/act`, {
method: "POST",