1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Merge pull request #18690 from calixteman/print_test_afterprint

In the autoprint integration test, resolve the promise on 'afterprint' event
This commit is contained in:
calixteman 2024-09-04 15:44:05 +02:00 committed by GitHub
commit e3fd62d726
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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