mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-23 17:31:33 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
@ -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", () => ({
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user