mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-24 00:51:19 +00:00
Loosen run detail layout test assertions
This commit is contained in:
parent
b41c6cb813
commit
b9f787da7c
1 changed files with 3 additions and 6 deletions
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue