add process step constants, channel/result label maps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 10:59:23 +01:00
parent a40ce119eb
commit e39d758d39
2 changed files with 86 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
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();
}
});
});