Loosen run detail layout test assertions

This commit is contained in:
Bryan Helmkamp 2026-05-23 05:52:05 -04:00
parent b41c6cb813
commit b9f787da7c
No known key found for this signature in database

View file

@ -382,7 +382,7 @@ describe("RunDetail full-height child routes", () => {
const outletWrappers = renderer.root.findAll(
(node) =>
node.type === "div" &&
hasClasses(node.props.className, ["pt-3", "min-h-0", "flex-1"]),
hasClasses(node.props.className, ["min-h-0", "flex-1", "flex-col"]),
);
expect(outletWrappers).toHaveLength(1);
});
@ -540,11 +540,8 @@ describe("RunDetail full-height child routes", () => {
const outletWrappers = renderer.root.findAll(
(node) =>
node.type === "div" &&
hasClasses(node.props.className, [
"pt-3",
"pb-[var(--fabro-interview-dock-clearance)]",
]),
hasClasses(node.props.className, ["pb-[var(--fabro-interview-dock-clearance)]"]),
);
expect(outletWrappers).toHaveLength(1);
});
});
});