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
@@ -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",
);
});
});