gstack/make-pdf/test
Garry Tan 0b7b5ee0f7
test(make-pdf): fill ship-audit coverage gaps — downscale, reset contract, excalidraw fence, WebP
Ship coverage audit found 9 gaps (85%); this fills the 2 HIGH + 3 MEDIUM and
most LOW. diagram-gate fixture gains a 4200px incompressible photo (the only
live coverage of __downscaleRaster AND the 64KB chunked jsViaBuffer eval
transport — asserted via the downscale stderr warning), an ```excalidraw
scene fence rendered through exportToSvg (vector labels + caption in
pdftotext, no leaked scene JSON), and the broken fence MOVED BETWEEN the two
mermaid fences so the second diagram rendering proves the D6.2 reset
contract end-to-end. New coverage-gaps.test.ts (16 tests): mock-tab reset
contract (exactly one reload, post-failure fence renders), excalidraw
fail-fast diagnostic without a bundle call, rasterize error fallbacks
(figure/tag kept, never silent), WebP VP8/VP8L/VP8X byte parsers,
landscapeContentBox a4/asymmetric margins, bare-token slot fallback,
resolveBundlePath env override + error shape, screenCss media scoping.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 07:10:10 -07:00
..
e2e test(make-pdf): fill ship-audit coverage gaps — downscale, reset contract, excalidraw fence, WebP 2026-06-12 07:10:10 -07:00
fixtures test(make-pdf): fill ship-audit coverage gaps — downscale, reset contract, excalidraw fence, WebP 2026-06-12 07:10:10 -07:00
browseClient.test.ts v1.30.0.0 fix wave: 21 community PRs + Windows CI extension + codex flag-semantics smoke (#1391) 2026-05-09 08:06:47 -07:00
coverage-gaps.test.ts test(make-pdf): fill ship-audit coverage gaps — downscale, reset contract, excalidraw fence, WebP 2026-06-12 07:10:10 -07:00
diagram-prepass.test.ts test(make-pdf): diagram pre-pass unit suite + e2e render gates 2026-06-11 23:59:40 -07:00
image-policy.test.ts test(make-pdf): pin zero-truncation invariant, typography floor, centering math 2026-06-12 06:32:55 -07:00
pdftotext.test.ts v1.30.0.0 fix wave: 21 community PRs + Windows CI extension + codex flag-semantics smoke (#1391) 2026-05-09 08:06:47 -07:00
render.test.ts test(make-pdf): pin zero-truncation invariant, typography floor, centering math 2026-06-12 06:32:55 -07:00