add process step constants, channel/result label maps
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user