mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
In the autoprint integration test, resolve the promise on 'afterprint' event
This commit is contained in:
parent
1cdaaadf2d
commit
5d622ada04
1 changed files with 1 additions and 1 deletions
|
@ -1764,7 +1764,7 @@ describe("Interaction", () => {
|
|||
},
|
||||
eventBusSetup: eventBus => {
|
||||
eventBus.on(
|
||||
"print",
|
||||
"afterprint",
|
||||
() => {
|
||||
window.PDFViewerApplication._testPrintResolver.resolve();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue