Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/documents/src/semantic-pdf.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ function kindAnchors(input: CommerceDocumentInput): readonly string[] {
}

describe("semantic PDF verification with Poppler", () => {
// Cold React PDF/font setup plus Poppler exceeded Vitest's default 5s on
// the shared CI runner. Match the other single-document PDF tests' 30s
// budget; this checks geometry, not rendering latency.
it("keeps wrapped quote details above the fixed footer on every page", async () => {
const input = demoDocuments.find(
(document) => document.kind === "direct_quote",
Expand Down Expand Up @@ -119,7 +122,7 @@ describe("semantic PDF verification with Poppler", () => {
}
}
expect(detailCount).toBeGreaterThan(30);
});
}, 30_000);

it("extracts immutable identity, parties, version, source hash, and kind-specific truth for all 15 kinds", async () => {
for (const input of demoDocuments) {
Expand Down
Loading