From 590f4cb0625a75759090e35828278cbedf0a095f Mon Sep 17 00:00:00 2001 From: Corentin JOGUET Date: Fri, 8 May 2026 10:37:04 +0200 Subject: [PATCH] =?UTF-8?q?docs(session):=20update=20SESSION-RESUME=20post?= =?UTF-8?q?=20Patch=20017=20=E2=80=94=200=20TS=20errors,=20all=20tests=20g?= =?UTF-8?q?reen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Documents Patch 017: vitest->jest migration, Zod v4 UUID fixes, JwtAuthGuard overrides, jest.Mock typing, excalidraw/main.tsx mocks - Client: 38/38 suites, 313/313 tests; server acadenice: 21/21 suites, 210/210 tests - Both sides: 0 TypeScript errors Co-Authored-By: Claude Sonnet 4.6 --- _byan-output/fast-app/formation-hub/SESSION-RESUME.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/_byan-output/fast-app/formation-hub/SESSION-RESUME.md b/_byan-output/fast-app/formation-hub/SESSION-RESUME.md index 22c648d..c51576d 100644 --- a/_byan-output/fast-app/formation-hub/SESSION-RESUME.md +++ b/_byan-output/fast-app/formation-hub/SESSION-RESUME.md @@ -1,4 +1,4 @@ -# SESSION RESUME — formation-hub Acadenice (last update post R3.8 — R3 ENTIEREMENT TERMINE) +# SESSION RESUME — formation-hub Acadenice (last update post Patch 017 — 0 TS errors, 0 test failures) ## RECAP SESSION 2026-05-07 (lecture obligatoire post-/compact) @@ -29,6 +29,15 @@ Bridge state : 380/380 tests verts (+44 R3.1.a +6 retry/fake-redis, +11 SSE rout **Fork DocAdenice (`docmost/`, gitignored, branche `acadenice/main`, local-only)** : ``` +4cf0408 fix(acadenice): resolve test suite failures across R3 sub-blocks (Patch 017) + - 17 server specs converted from vitest to Jest (vi -> jest globals) + - jest.mock stubs for ESM-only prosemirror/html and collaboration modules + - Zod v4 strict UUID fixtures fixed (version byte [1-8][89abAB] required) + - JwtAuthGuard.overrideGuard added to all controller specs + - jest.Mock explicit types to prevent 'never' arg inference + - Client: deleted vitest.config.ts (CJS), kept vitest.config.mts (ESM) + - Client: global mocks for @excalidraw/excalidraw and @/main.tsx + - Result: client 38/38 suites 313/313 tests, server acadenice 21/21 suites 210/210 tests, 0 TS errors be951a2 feat(acadenice): add inline comments threads for R3.8 (30 tests, Patch 016) 7d076aa feat(acadenice): add mentions notifications system for R3.7 (45 tests, Patch 015) 614533f feat(acadenice): add page templates system for R3.6 (65 tests, Patch 014)