0.36.0: Status Intern mit I-Nummern und Ordner 05 Intern, Eckdaten unten und einklappbar
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { ordnerAbgleichen, ordnerName } from "../src/server/nextcloud.js";
|
||||
import { ordnerAbgleichen, ordnerName, zielPfad } from "../src/server/nextcloud.js";
|
||||
import { falscheNextcloud } from "./falsche-nextcloud.js";
|
||||
|
||||
describe("Projektordner in der Nextcloud (P10)", () => {
|
||||
it("interne Projekte liegen in 05 Intern (Henning, 24.10.2026)", () => {
|
||||
expect(zielPfad({ nummer: "I-26-001", bezeichnung: "Halle aufräumen", status: "intern" })).toBe("05 Intern/I-26-001 Halle aufräumen");
|
||||
});
|
||||
it("Ordnername ohne verbotene Zeichen", () => {
|
||||
expect(ordnerName("P-26-020", "Terrassendach / Carport")).toBe("P-26-020 Terrassendach - Carport");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user