App reorganization

This commit is contained in:
adilallo
2026-04-18 14:12:49 -06:00
parent f866d11ff8
commit e9dab04b34
288 changed files with 2698 additions and 5029 deletions
+33
View File
@@ -0,0 +1,33 @@
import { describe } from "vitest";
import {
componentTestSuite,
type ComponentTestSuiteConfig,
} from "../utils/componentTestSuite";
import Chip from "../../app/components/controls/Chip";
type Props = React.ComponentProps<typeof Chip>;
const config: ComponentTestSuiteConfig<Props> = {
component: Chip,
name: "Chip",
props: {
label: "Worker cooperative",
state: "unselected",
palette: "default",
size: "m",
} as Props,
primaryRole: "button",
testCases: {
renders: true,
accessibility: true,
keyboardNavigation: true,
disabledState: true,
},
states: {
disabledProps: { disabled: true, state: "disabled" },
},
};
describe("Chip", () => {
componentTestSuite<Props>(config);
});