Cleanup pass 2

This commit is contained in:
adilallo
2026-05-22 13:30:47 -06:00
parent b7c804bac8
commit 753220f97b
76 changed files with 1338 additions and 1020 deletions
+2 -5
View File
@@ -22,7 +22,6 @@ const config: ComponentTestSuiteConfig<AskOrganizerProps> = {
subtitle: "Subtitle",
description: "Description",
buttonText: "Button",
buttonHref: "/link",
className: "custom",
variant: "centered",
},
@@ -72,11 +71,9 @@ describe("AskOrganizer (behavioral tests)", () => {
});
it("renders button with custom text", () => {
render(
<AskOrganizer title="Test" buttonText="Contact" buttonHref="/contact" />,
);
render(<AskOrganizer title="Test" buttonText="Contact" />);
expect(
screen.getByRole("link", {
screen.getByRole("button", {
name: /contact/i,
}),
).toBeInTheDocument();