diff --git a/src/frontend/jest.setup.js b/src/frontend/jest.setup.js index 725f3b5058..64d3c1cec8 100644 --- a/src/frontend/jest.setup.js +++ b/src/frontend/jest.setup.js @@ -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", () => ({ diff --git a/src/frontend/tests/extended/features/edit-tools.spec.ts b/src/frontend/tests/extended/features/edit-tools.spec.ts index 5b8303a9a8..85814b795e 100644 --- a/src/frontend/tests/extended/features/edit-tools.spec.ts +++ b/src/frontend/tests/extended/features/edit-tools.spec.ts @@ -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);