Edit flow configured

This commit is contained in:
adilallo
2026-04-29 18:29:16 -06:00
parent 3a9727bceb
commit fc845d8308
39 changed files with 681 additions and 165 deletions
+12
View File
@@ -205,4 +205,16 @@ describe("Rule Component", () => {
expect(screen.getByText("CE")).toBeInTheDocument();
});
it("shows template recommended tag when collapsed and recommended is true", () => {
render(<Rule {...defaultProps} recommended />);
expect(screen.getByText("RECOMMENDED")).toBeInTheDocument();
});
it("does not show template recommended tag when expanded", () => {
render(<Rule {...defaultProps} recommended expanded categories={[]} />);
expect(screen.queryByText("RECOMMENDED")).not.toBeInTheDocument();
});
});