[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-06-23 17:45:17 +00:00
committed by GitHub
parent e407c043d0
commit e8e8f6ea1d
2 changed files with 7 additions and 2 deletions

View File

@ -92,7 +92,10 @@ jest.mock("react-markdown", () => ({ __esModule: true, default: () => null }));
// react-markdown plugins (e.g. HumanInputCard via the canvas node badge) loads.
jest.mock("remark-gfm", () => ({ __esModule: true, default: () => {} }));
jest.mock("remark-math", () => ({ __esModule: true, default: () => {} }));
jest.mock("rehype-mathjax/browser", () => ({ __esModule: true, default: () => {} }));
jest.mock("rehype-mathjax/browser", () => ({
__esModule: true,
default: () => {},
}));
// Render children only — tests don't need TooltipProvider context
jest.mock("@/components/common/shadTooltipComponent", () => ({

View File

@ -52,7 +52,9 @@ test(
// Scope to the enable ("name") column: the HITL approval_actions column also renders an
// eInput checkbox, so a global nth() index would land on it instead of the action toggle.
const enableCheckboxes = page.locator('[col-id="name"] input[data-ref="eInput"]');
const enableCheckboxes = page.locator(
'[col-id="name"] input[data-ref="eInput"]',
);
expect(await enableCheckboxes.nth(0).isChecked()).toBe(true);