TASK22224: tidy pdf render compatibility
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user