App reorganization

This commit is contained in:
adilallo committed 2026-04-18 14:12:49 -06:00
1 parent f866d11ff8
commit e9dab04b34
288 files changed
+2698 -5029

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
import { describe, vi } from "vitest";
import {
componentTestSuite,
type ComponentTestSuiteConfig,
} from "../utils/componentTestSuite";
import ModalFooter from "../../app/components/utility/ModalFooter";
type Props = React.ComponentProps<typeof ModalFooter>;
const config: ComponentTestSuiteConfig<Props> = {
component: ModalFooter,
name: "ModalFooter",
props: {
showBackButton: true,
showNextButton: true,
onBack: vi.fn(),
onNext: vi.fn(),
currentStep: 2,
totalSteps: 4,
} as Props,
primaryRole: "button",
testCases: {
renders: true,
accessibility: true,
},
};
describe("ModalFooter", () => {
componentTestSuite<Props>(config);
});