1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

In the autoprint integration test, resolve the promise on 'afterprint' event

This commit is contained in:
Calixte Denizet 2024-09-04 13:49:02 +02:00
parent 1cdaaadf2d
commit 5d622ada04

View file

@ -1764,7 +1764,7 @@ describe("Interaction", () => {
},
eventBusSetup: eventBus => {
eventBus.on(
"print",
"afterprint",
() => {
window.PDFViewerApplication._testPrintResolver.resolve();
},