Edit flow configured

This commit is contained in:
adilallo committed 2026-04-29 18:29:16 -06:00
1 parent 3a9727bceb
commit fc845d8308
39 files changed
+681 -165

No files matched your search

@@ -0,0 +1,18 @@
import { describe, expect, it } from "vitest";
import { createFlowStepForFacetGroup } from "../../app/(app)/create/utils/facetGroupToCreateFlowStep";
describe("createFlowStepForFacetGroup", () => {
it("maps facet keys to custom-rule URL segments", () => {
expect(createFlowStepForFacetGroup("coreValues")).toBe("core-values");
expect(createFlowStepForFacetGroup("communication")).toBe(
"communication-methods",
);
expect(createFlowStepForFacetGroup("membership")).toBe("membership-methods");
expect(createFlowStepForFacetGroup("decisionApproaches")).toBe(
"decision-approaches",
);
expect(createFlowStepForFacetGroup("conflictManagement")).toBe(
"conflict-management",
);
});
});