0.50.0: Umsetzung der UX-Prüfung (Übersicht, Menü, Einstellungen, Projekte, Liquidität, Handy)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
@@ -4,12 +4,12 @@ import { STANDARDWOCHE as W } from "../src/domain/kalender.js";
|
||||
|
||||
describe("Aufgaben wie in V70 gruppiert", () => {
|
||||
const a = (id: string, faellig_am: string | null, extra = {}) => ({ id, text: id, faellig_am, ...extra });
|
||||
it("überfällig, diese Woche bis Sonntag, langfristig; erledigte fallen weg", () => {
|
||||
it("überfällig, nächste 7 Tage, später; erledigte fallen weg", () => {
|
||||
// Mittwoch, 21.10.2026
|
||||
const g = aufgabenGruppen([a("alt", "2026-10-20"), a("so", "2026-10-25"), a("mo", "2026-10-26"), a("ohne", null), a("fertig", "2026-10-21", { erledigt_am: "x" }), a("lang", "2026-10-22", { langfristig: true })], "2026-10-21");
|
||||
expect(g.ueberfaellig.map((x) => x.id)).toEqual(["alt"]);
|
||||
expect(g.dieseWoche.map((x) => x.id)).toEqual(["so"]);
|
||||
expect(g.langfristig.map((x) => x.id)).toEqual(["lang", "mo", "ohne"]);
|
||||
expect(g.naechste7.map((x) => x.id)).toEqual(["so", "mo"]);
|
||||
expect(g.spaeter.map((x) => x.id)).toEqual(["lang", "ohne"]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user