From 2d4786c563475f4b8490f1e4d3b3d9d9914fcbca Mon Sep 17 00:00:00 2001 From: Chris0Jeky Date: Sun, 6 Sep 2026 05:46:47 +0100 Subject: [PATCH 1/2] Admit BoardCanvas spec to frontend typecheck --- frontend/taskdeck-web/src/tests/components/BoardCanvas.spec.ts | 3 ++- frontend/taskdeck-web/tsconfig.vitest.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/taskdeck-web/src/tests/components/BoardCanvas.spec.ts b/frontend/taskdeck-web/src/tests/components/BoardCanvas.spec.ts index 9daca3f7d..c3c249df4 100644 --- a/frontend/taskdeck-web/src/tests/components/BoardCanvas.spec.ts +++ b/frontend/taskdeck-web/src/tests/components/BoardCanvas.spec.ts @@ -9,6 +9,7 @@ const columns = [ name: 'Todo', position: 0, wipLimit: null, + cardCount: 0, createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), }, @@ -20,7 +21,7 @@ const cards = [ boardId: 'board-1', columnId: 'column-1', title: 'First card', - description: null, + description: '', dueDate: null, position: 0, labels: [], diff --git a/frontend/taskdeck-web/tsconfig.vitest.json b/frontend/taskdeck-web/tsconfig.vitest.json index d12db19f2..b485d0004 100644 --- a/frontend/taskdeck-web/tsconfig.vitest.json +++ b/frontend/taskdeck-web/tsconfig.vitest.json @@ -73,7 +73,6 @@ ], "exclude": [ "src/tests/api/http.spec.ts", - "src/tests/components/BoardCanvas.spec.ts", "src/tests/components/BoardDialogHost.spec.ts", "src/tests/components/CaptureModal.spec.ts", "src/tests/components/CardItem.coverage.spec.ts", From a01d2d21f44f4cfb4fdb5d2b7306bab343003d88 Mon Sep 17 00:00:00 2001 From: Chris0Jeky Date: Sun, 6 Sep 2026 12:58:32 +0100 Subject: [PATCH 2/2] chore(typecheck): ledger counts follow the admitted spec (review MEDIUM-1) --- frontend/taskdeck-web/tsconfig.vitest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/taskdeck-web/tsconfig.vitest.json b/frontend/taskdeck-web/tsconfig.vitest.json index b485d0004..75f7901bd 100644 --- a/frontend/taskdeck-web/tsconfig.vitest.json +++ b/frontend/taskdeck-web/tsconfig.vitest.json @@ -42,9 +42,9 @@ // TypeScript files under `src/tests/` (284 specs plus `setup.ts` and one mock), measured // 2026-08-07. // - // CURRENT: **40 files remain.** The 24 files that carried exactly one error each were fixed and - // un-quarantined in #1607 (24 of the 415 errors cleared; 391 remain across the 40). That leaves - // **262 of the 326 spec files Vitest runs** type-checked (re-measured 2026-08-22: 302 src-tree + // CURRENT: **39 files remain** (BoardCanvas.spec.ts admitted 2026-09-06 under #1607, its two fixture fields fixed). The 24 files that carried exactly one error each were fixed and + // un-quarantined in #1607 (24 of the 415 errors cleared; 389 remain across the 39). That leaves + // **263 of the 326 spec files Vitest runs** type-checked (re-measured 2026-08-22: 302 src-tree // specs minus the 40 quarantined, plus zero of the 24 frontend-root specs); the 64 that are not // are these 40 plus the 24 in the frontend-root `tests/` directory. //