gstack/make-pdf/test
Garry Tan a2c1eae16e
test(make-pdf): width-policy unit suite + landscape e2e gate with negative fixtures
24 unit tests weighted toward the false-positive guards: wide screenshot
without an alt hint stays portrait, sub-threshold and tall images stay
portrait, deterministic 1560/1561px boundary, whole-word alt matching
('photographic' must not match 'graph'), page=portrait veto beats every
heuristic, diagnostic blocks never promote. E2E gate asserts pdfinfo
per-page boxes through the compiled binary: exactly 3 of 5 fixture blocks
get landscape pages (alt-hinted image, directive-forced image, wide sequence
diagram) while the unhinted screenshot and the veto'd diagram stay portrait —
plus the --toc combo proving TOC and named-page landscape coexist.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 00:06:46 -07:00
..
e2e test(make-pdf): width-policy unit suite + landscape e2e gate with negative fixtures 2026-06-12 00:06:46 -07:00
fixtures test(make-pdf): width-policy unit suite + landscape e2e gate with negative fixtures 2026-06-12 00:06:46 -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
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): width-policy unit suite + landscape e2e gate with negative fixtures 2026-06-12 00:06:46 -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 v1.52.2.0 fix(make-pdf): render emoji instead of tofu (▯) on Linux (#1787) 2026-05-29 18:06:19 -07:00