import { describe, expect, it } from "vitest"; import { PROZESS_SCHRITTE } from "./constants"; describe("PROZESS_SCHRITTE", () => { it("has 6 steps in correct order", () => { expect(PROZESS_SCHRITTE).toHaveLength(6); expect(PROZESS_SCHRITTE[0].key).toBe("neu"); expect(PROZESS_SCHRITTE[5].key).toBe("antrag_gestellt"); }); it("every step has label and description", () => { for (const step of PROZESS_SCHRITTE) { expect(step.label).toBeTruthy(); expect(step.beschreibung).toBeTruthy(); } }); });