TASK22224: tidy pdf render compatibility

This commit is contained in:
2026-03-24 05:52:38 +00:00
parent 9b0365ffbd
commit c6205bbb39
4 changed files with 36 additions and 2 deletions
@@ -1445,6 +1445,7 @@ test("generateappealpdfcopy catch path returns APPEAL_PDF_COPY_GENERATION_FAILED
test("generatepdf catch path returns GENERATE_PDF_FAILED", async () => {
const { Readable } = require("stream");
const mod = loadModule("pages/api/file/generatepdf.js", {
Buffer,
respondError: respondErrorMock,
respondSuccess: respondSuccessMock,
hashAPIPath: () => "&hash=expected",